add EventEmitter example
add example of javascript "object construction"