2nd build

recursively iterate through dom elements of specified div