removed unecessary strings;
left beforeRender in navMenuView for debugging