Nit: new Date().getTime() -> Date.now()