Update event.js

fix typo