function stopErrors() {
 return true;
}
window.onerror = stopErrors;



