code: function getLanguageFromQueryString() {
      if (location.search.length >= 1) {
        var language = parseURL(location.search).language
        if (language) {
          return language;
        } else if (jQuery.inArray(location.search.substr(1), languages) != -1) {
          return location.search.substr(1);
        }
      }
  
      return false;
    }
docs: gets the language set in the query string