lodash dom traversing