Shifted team_totals to an endpoints RPC call instead of being embedded on the page