Use of polecat data type DOM element generation fn in response