code: function replaceWith(to, params, query) {
          location.replace(Router.makePath(to, params, query));
        }
docs: Transitions to the URL specified in the arguments by replacing
  the current URL in the history stack.