Update masterpayment.js