add statistic js