Test that Node is a function before using instanceof on it
Merge pull request #1180 from evanc/master

Test that Node is a function before using instanceof on it