changes in DOMIterator and highlighting