Menu: Move js out of the template into functions.js (so jQ can go in the foot) and only invoke it if there are subnav levels to show