              }
            }
            else {
                if (queryString.code) {
                    ajaxGet("https://support.readaloud.app/read-aloud/login?code=" + queryString.code + "&redirect_uri=" + encodeURIComponent(redirectUri))
                        .then(JSON.parse)
                        .then(function(token) {
                            location.href = queryString.state + "?token=" + token;
                        })
                }
                else {
                    locati