Atc code cleanup

This just replaces `[0].innerHTML` with `.html()` which should be functionally equivalent

# Testing
- [x] verify loading a ToC and HTML file works
- [x] verify saving any change to ToC works
- [x] verify saving any HTML file works