wired up JS for make-a-payment page