Add Node.js exports sample code;
Register event object sample code;