Added explanatory comments to tictactoe.js