Refactoring - parseInt(Date.now(), 10) => time()

r? @ametaireau