fixed total participants js not working