prepare to history.js
added a navigation system with history.js