$('.headerMenu a[href="/'+ window.location.pathname.split('/')[1] +'"]').parents('li.flexRow').find('>a').addClass("selected");