Add events.js to the build