Update statistics-helper.js

error fixing