Here is the code:
You\'ll notice the alert(document.styl
alert(document.styl
You can put the failing line in a try-catch block. That's how i solved the same issue on one project.