solved some errors in lend_return.js