Emitting LWES events in Node.js