ECMAScript 5 Polyfill

Including a polyfill for ES5 features that lt IE9 don't implement, like the fairly essential array.indexOf() in use in the app.