battleship game for javascript