Convert branch-graph.js to branch-graph.js.coffee