added polyfills for ie8
turned off jshint for polyfills
added legacy ie8 event firing for tests