Currently, there are duplicate JavaScript functions in use by both the navigation frame and the markdown document template. One such example is the function which attaches click handlers to the links. These functions should be put into a script file which the documents should reference instead.