Error on IE8 & IE9 due to setting router location to history

Need to check properties on window.history to really detect if IE8 or IE9.