Pomodoro timer in node.js