fix d3js example does not change svg responsively