put item definitions on the DOM elements that they create for later use.