Broadcaster pages

Please check partitipant.js, maybe you have some suggestions on how to re-factor it.
What this code does? Please comment. Where is it used?