Fix on IE by upgrading JScript and using load event instead of ready when in an iframe