assigns window.history = History