Add some JS to automatically generate anchors for h1 tags in the doc content