added transfer_credit.js file