js changes for iframe sizing