move dom manipulation stuff to ezdom