Remove map.html. Put js from map.html to games.js. Rename games.js -> game.js.
Call ws.startGame at login. Format according to code style.
Add sid to requests.
Format according to code style.
Add WebSocket requests handling.