added tutorial vars to json, changed incident code (html, js, py) to reflect changes, tweaked cookie behavior