add verification of dom event api