javascript and highcharts