Add socket.io endpoint in Express.js, make Coffee codes up to par with Ruby codes