removing errorpage jscript