Switched performance.now() for Date.getTime()