Renamed the references to the PaymentModeAttributeType and PaymentMode properties in javascript to AttributeType and InstanceType, respectively.