JSS Events API Documentation and Sample Code