Use object.hasOwnProperty instead of same method from window.history to workaround lack of support from < IE9