globalNav.js improvements