extend D3 to be able to use coffee file for onData and extension rather than JS strings