Use Date.now instead of new Date().getTime()

Shorter and faster.