change children to childNodes for b2g1.1