added e.preventDefault() call on hashchange event listener