Remove debugging lines from events.js