added browser support check for html5 history