Templating for highcharts