Go back to the original check for state of window.history:
- Although my check is more purist and it avoids jslint warning, the original
check still works even in IE7 and it just less logic to deal and check