HTML5 version of extended Tic-Tac-Toe Board game