ui.js: new Date() -> Date.now()