Contents.js

Generate a table of contents for a given area of content.