Updated source files to be javascript objects

This ensures the page now works offline
Totals use HH count