adding history.js