PHP API mapping for JavaScript library Highcharts