update internal functions and nodejs identity
remove illegal code in Event.addListener()
update Functional mechanism