Patched the javascript, now uses window.parent instead of window.top. This prevents errors if there is another iframe around the window.parent.