Added old-browser detection for d3 charts.