Attempt to fix widgets/frame.js in IE