upload JS code for the Battleship Game