Added html5 history syppport