fix d3 for ie8