Update events.js

brushend added