events.js: remove extra comma