adding d3 javascript