fix location.hash change by removing unneeded preventDefault