fixed formatting problem in global.js