start header login box, global.js