This block JS errors script will block an otherwise working script from returning errors. this javascript can have other uses too.