added global.js