Adding history.js