Fixed Date.now() issue in IE8