Localize currency formatting in JS (cf #48)