Replace Date.now with non-ES5 compatible getTime instead of a shim