Fixed broken d3 exporter.