Updated global.js with new coding convention.