Fractal Generator using d3js