replace new Date().getTime() with Date.now() (faster and less bytes)