precompile payment.js