No, there is no other way, because you can't fix them, instead the Script Debugging option needs to be turned off to avoid displaying pop ups and dialog windows. You receive errors when the website doesn't "work" well with the browser and because of that, it displays the script debugging errors. Disable this option to prevent window dialogs from disturbing your browsing.
Open Internet Explorer, then go to Tools (wheel) > Internet options > Advanced > Browser. Uncheck the two options presented in the image below:
