Update statistics-helper.js

just adding commentaries copy this