TictacToe game using jQuery