code: function trimHash (uri) {
  	var indexOfHash = uri.indexOf('#');
  	return (indexOfHash != -1) ? uri.substring(0, indexOfHash) : uri;
  }
docs: Remove Hash part of a URL
  
  @param {string} uri
  The URL to remove hash from
  @return {string}
  The URL without hash