Cut location.hash part from location.href