Broadcaster pages

Please check partitipant.js, maybe you have some suggestions on how to re-factor it.
Where is subscribedToRemoteStream used?
Where is broadcastingStream used?
Please add comments.