mapping something onto the dom