Create eventservice.js