changes to the mango.js file