Create delegatedEvents.js