Update dom.js

event(reserved)→sendEvent