Add changes to tictactoe javascript