added recursive implementation of all text in DOM