changed global.js