Mean, median, and mode, implemented in the browser with BackboneJS