Tic Tac Toe in HTML5