I am trying to extract the call to replace commas into a reusable function but I have been unsuccessful.
if (Number($amountField.val().replace(/,/g, '')) > 0 || Number($prorationOwedField.val().replace(/,/g, '') > 0)) {
$taxField.prop('disabled', false);
}