Added jsdoc comments to eventService