Multiplayer game in javascript using websockets and node.js