modify to set the dom properties
modify to set the dom properties