Tic Tac Toe game on HTML5