Better Node.js integration, with tests.