Update historyview.js