IE returns "#" when location.hash is empty