include history.js to index