changed d3 ajax