CommonJS module: pass events from IPC
Example: add a custom event listener