use the data dictionary instead of looking in the dom