improved the payment form inline js
updated to 1.6.1 version