use 'on' for click trigger in paypal script