Create serverSentEvents.js