Update dom.o.js

fixed a bug where if an element had no children it was still attempting to traverse. This way if The element has zero children it will not even attempt to call a new copy of traversDom()