Broadcaster pages

Participant Javascript has been substantially refactored, re-creating the pull request instead of the outdated one.
Are the input/output for all events the same?