Replace instanceof node with isNode
1.8.5