In PHP and other languages there are ways to suppress error/warning messages.
Is there a way in javascript or jquery to prevent errors and warnings from being writte
Best to user console.clear(); in 90% of your cases it will be resolved