misc code cleanup
make participant count calculated from angularjs