GTNPORTAL-3429 Minor fixes for menu.js