lib: adjust node.js check