IE8 fix for Date.now()