if (selectedLang === lang) {
          return;
          // check if we have any matches and they are exist in the array we have
        } else if ((matches && matches[0]) && supportedLanguages.indexOf(matchesLang) !== -1) {
          href = href.replace(matches[0], selectedLang);