I don't think I understand you, but what's the need for the script? You can however, do this within the markup (Just to clarify things).
If you don't want to see the scrollbars within your iframe, try to add highlighted in every instances of your iframe:
For the refresh, you can also do it by adding this in the head section of your page:
The value of the content attribute, which is 60 means this should refresh every
<meta http-equiv="refresh" content="60">
Hope that makes sense.