essfulResult);
                },
                function (err) {
                    window.console.log(err);
                    phraseDiv.innerHTML += "ERROR: " + err;
                }
            );
        }

        async function pronunciationAssessmentWithRestAPI() {
            resetUiForScenarioStart();
            resetVariables();
            if (inputSourceMicrophoneRadio.checked) {
                alert("The current scenario does not support microphone input.");
                return;
     