Fixed table of contents

Table of contents now displays, RTM table shows up, and the text area
gets filled. Fix was .innerHTML
Lets work on saving and getting the RTM to download as a csv