Cleanup payments.js