Tic-Tac-Toe using jQuery