Moved javascripts to place where they won't slow page load.
Added underscore and backbone
Now using backbone views.
Switching between pages from table of contents now works correctly.