Implemented game board js.