[Runtime] Add application Event object JS side support
[Runtime] Add application event extension.