The Great Re-ordering: Move all function declarations to occur before their use
The Great Re-ordering: Move all function declarations to occur before their use

JSLint's complaint here is: "Undeclared '(function-name)'".
No functionality changes here, just rearranging to make sure every function is
defined above already when it is called.

nowthis/d3-plugin-captain-sankey