Fix for stats page.

* Fixed js error where Rickshaw not defined
* Fixed division by zero
Merge pull request #36 from rlr/fix-stats-page

Fixes for stats page.