IE8 Date.now() fix