changed form to div with #newGameForm id
moved form generation to javascript
separated TTT game logic from CSS display details