Removing hash from location.href