Highstock adapter for scalable JavaScript application