Statistics, coding style for JS