Just in Time Debugging dialog box opens and asks if I want to debug using the selected debugger, which is usually the Microsoft Script Editor.
how to turn it of… At the moment it can be done only in Internet Explorer. Open Tools > Internet Options.
Then click on Advanced tab. Search for : Browsing > Disable script debugging (Internet Explorer) and Browsing > Disable script debugging (other)
You can check both checkboxes and you do not see any more script errors.