change js dir of d3