Update history.js to latest version