Minor style refactorings.
Remove Total and Tooltip changes and update OpenSpendingJS.

I've moved these changes to upstream, so we don't need them in our codebase
anymore.