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