code: function(url) {
        if (!isSupportHistoryAPI && ('' + url).indexOf('#') === 0) {
          changeState(null, url, true);
        } else {
          windowLocation.replace(url);
        }
      }
docs: Removes the current page from
  the session history and navigates
  to the given page.
  
  @namespace history.location