Broadcaster pages

Please check partitipant.js, maybe you have some suggestions on how to re-factor it.
how come we need participant.js in initiator?