Add HTML5 history API calls to make back button work.