Unneeded menu initialization is removed from main requirejs module