code: function _urlWithoutQueryString(url) {
          var index = url.search(/[#\?]/);
          if (index >= 0) {
              url = url.substr(0, index);
          }
          return url;
      }
docs: Return the URL without the query string
  @param {string} URL