implemented getParticipantFromJavaScriptChat