avoid actually reaching out to window level objects from within Turbolinks (call Turbolinks.replaceState vs. window.history.replaceState, for example) for easier mocking and stubbing during tests