Draft: Update user balance color on purchase
For issue #3.
This should update attribute when an item is purchased and adjust the styling accordingly.
Question: For template/user.html:83, Could the window.location
be replaced with the same update function, or is there another reason for this?