global.js: remove unused code in modefyUser