More helper functions to deal with highcharts