Open the Web page in Internet Explorer. When the error occurs, a yellow icon displays in the bottom status bar. Double-click the icon to review the line of code that is causing the error. Internet Explorer also displays the line number where the error message is triggered.
Scroll down to the line number listed in the Internet Explorer error window. You must identify the JS syntax error to fix the coding. For instance, if you are missing a closing or opening bracket, the JS engine displays an error and you must add these characters to stop the errors.
Click the browser's "Tools" menu and click "Internet Options" in the list of options. Click the "Security" tab at the top of the resulting window.