The default JavaScript debugger can be irritating when it pops up error message boxes.
To turn debugging off, go to Tools->Internet Options->Advanced. Make sure that “Disable Script Debugging (other)” and “Disable Script Debugging (Internet Explorer)” are checked.