ajax d3; fix d3 animation