Functionalized graph rendering and added a document.ready call.
Compiled coffeescript.