updates for d3 and highcharts