bugfix: node.js instanceof trap