return the node when using appendChild