Got table of contents to load from html, wrote my first coffeescript, which parses html back into required json format