Libil port for Node.js