TicTacToe with jQuery UI