My app is working in chrome but not in safari. Here\'s the code that breaks it
export function numberWithCommas(x) { return x.toString().replace(/\\B(?