function profileGen(username, container) { queryAPIByUser("", username, (user) => { if(!user.hasOwnProperty("id")) { alert("User Does Not Exist"); window.location.href = "./GraphGenerator.html"; } parseOrgs(user.login).then( (orgsReturn) => { let html = "