cross browser get all child nodes recursively