Added manual document.title update when setting/replacing browser history entry. Otherwise, Closure Library doesn’t provide cross-browser implementation of the history entry title for history.pushState/replaceState methods.