This however has some limitation, from what i had experienced. It works well in IE, to a major extend in Firefox, but not much in Opera and Safari. Hence it would be advisable you use the jquery error handling in addition, …

Continued here: 
How to suppress nagging javascript errors? | PHPCamp