Fixes js code that toggles the save button so that it works correctly

It was treating non-credit card payment options like credit card
payment options.