This is very simple implementation of testing browser's features.
$window
Does the browser support html5 history api ?
Does the browser support hashchange event ?