Added history js
gitignore
Added history implementation