add history.js to the project