fixed a couple of minor bugs + spending stats at the top are displayed according to currency
changed to angular.js