Use javascript to hide/unhide menus