[javascript] How to tell if node.js is installed or not