Create stream-events.js