Bug 25363: Merge common.js with staff-global.js