refactor tutorial.html's JS a bit.
moved inline JS from tutorial/tutorial.html to tutorial/main.js.
use role=challenge on <section> to identify challenges.
remove debug logging code