Added Date.now polyfill.