update for js currency formatting