Grabbed a sample index.html for a dynamic tree, fixed cfg.

Took a sample d3 dynamic tree (source in comments), and realized that I
need to compile the cfg.coffee file with
    coffee -bc cfg.coffee
otherwise coffeescript wraps the classes in an anonymous function.