Use html5 to set location.search

1.	Older browser: Use location.search (IE8?)
2.	Newer browser: Use history.replaceState (IE10?)