changing type event "name" to "event"

fixing event call on every platform
added default behavior for handleEvent