Added ECMAScript 5 polyfill