Check the navigations markup in js. Only load the navigation children if there is the right markup.