Fix Node.append
throwing Illegal invocation
#2730
Merged
Node.append
throwing Illegal invocation
#2730