one of update of javascript for issue #9. I found that the "event" augment is needed when the function will be added to listener.