added getDom and domIterator, fixed bug