Fixed no-js and IE8 issues