make node.js detection succeed on node-webkit