Participant page JS refactored
Merged with latest pull