IE8 fixes for javascript files