Clean global.js