refactored summonerinfo.js to make only 2 api calls