create a location.hash from a param list