HTML5  Tic-Tac-toe game