Updating highcharts javascript.