Fixed history.js not updating window title