Added two methods to dom utils, firstTextNode and lastTextNode
merge