Added Array.map() and Object.keys() polyfill for IE8 support