Custom Server wrappers around amcharts js