1. I think the right place for this code is in the topbar.js
2. I would have used document level events and not on-load event registration e.g.
``` javascript
// keep submenu for loc/org picker open when mouse is moved diagonally and not hovering over menu
$(document).on('mouseover','.org-submenu', function(){
    $('.org-menu').show();
    $('.loc-menu').hide();
});
$(document).on('mouseover','.loc-submenu', function(){
    $('.loc-menu').show();
    $('.org-menu').hide();
});
```