Creating TicTacToe in jQuery