fixed bug in turntaking function - turntaking js - check for participantid undefined