modif event.js
correction bug event.js