To turn off the error messages that pop-up, do this:
Go to Tools, Internet Options. Click Advanced on the far right.
In the browsing set, you should see one that says "Display Notification of Every Script Error". Uncheck it if its checked.
Also, click "Disable Script Debugging" to stop that, also.