Javascript projects: callbacks / tictactoe