javascript customization of service subscription payments