Error handling

Deep refactoring accomplished, ReguireJS integrated into the participant and broadcaster pages.
The base class for these two pages is located in base-broadcaster.js
Why is that needed?