only use location.hash if it exists...