Fixes for stats page.

* Fixed js error where Rickshaw not defined
* Fixed division by zero