Use history as as global

Just like DOM interfaces such as document and location. And JS
constructors like Object.prototype, and libs like jQuery.
No need for the window host object.

Change-Id: I5bf53ace8eb5a20bcbd8bdfa9eea848651833adb