Decode location.hash before using