Refactored some javascript
Added pie charts