Allow menu items to define their own javascript includes, and put the explorer menu js there rather than in core.js