uses proper JS api for currency formatting and preparations for showing other currencies based on page locale
this simplifies functions and tests, and will make currency optional/variable later