Adds a toc to app.js.