Date.now() doesn't work on IE < IE9. Fixing it.

Setting Date.now to be new Date().valueOf, if it is not defined.