Avoid `Unkown runtime error` on IE8 script tag