Tic Tac Toe in jQuery