add shim for missing Date.now() in IE8