Fix: window.location.history undefined in IE10. Add condition and try catch to warn about compatibility.