updated global.js for change password