Developing TicToe HTML5/Client logic