[FIX] Number formatting on pages

* Added new global js library to convert number_format similar to PHP
 * Does some rounding, so not 100% perfect but does the trick
* Added new library to master template
* Updated dashboard to use this library for all numbers in question

Fixes #1276
Merge pull request #1311 from TheSerapher/issue-1281

[FIX] Number formatting on pages