HTML DOM assignment