You are not going to have a situation where data.stream.game == true. If data.stream is not null, then there is a game playing. That is all you need to know to change the toggle. Also, you should not use 3 separate stand alone AJAX calls. Create a function with the AJAX call in it and pass in a username. as a parameter.
To have the switch toggle to the right when there is a stream, you can use:
The above assumes you have an id=“esl_sc2_toggle” on the input. I recommend redoing your html so that the main div container for a user has an id of the username and then the children elements (divs and inputs) would contain the other data. That way, you can target the div with the id and target the children without having to create specific ids for each child to be targeted.