Added new examples and JS extended support for EventEmitter