removed some lines of global.js