Script errors in browser

Hey,

So, I coded this website in a super hurry. I know it is very bad practice but the code does have some unresolved issues. However that in no way affects the functionality of the site (I checked it completely) But firefox, chrome etc show a bunch of as3 errors and the user has to dismiss the errors to go anywhere in the site. I really have no time to fix each error for this project, especially since they do not affect the functionality of the site.

Is there a way to hide these errors while publishing? Any Help on this one?