Initial commit

This is the necessary JS to embed in a PDF template to run in conjunction with the section creation python script.