refactoring to clean up site.js, added new dimensions, added test pie graphs