node.js server with web sockets, timer