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
Was chat merged? Why I don't see it here?