JS battleship clone