Use underscore's random.
Refactor stats.