Revert "Removing dead code panelMenu.js"

This reverts commit 26718c9110859fb05978519f10a0888626956ba8.
Remove unneeded references to panelMenu.js
Merge pull request #2017 from mtwebster/revert-panelmenu

Revert removal of panelMenu.js