Node.js readline utility