added jsdoc annotations for event module