moved d3 to js lib