[Jason, Chris] removed use of children in favour of ChildNodes