Update event.js

simple implement of DOM unrelated event