rename children to childNodes
allow constructor be assigned from options