reverted chartsInit , added counterInit script