Proper D3JS export