Nodejs mutil events handler.