fix determinizing of Date.now