HTML Multiplayer battleship with web sockets