[-] FO: Causes Javascript TypeError in some situations when calling formatCurrency