Added graceful failing for Node.js