highcharts encapsulation
big refactor