<!-- Configuration and setup common to SDK objects, including events -->
    <script>
        var allWords = [];
        var recognizedWordStrList = [];
        var startOffset = 0;
        var endOffset = 0;
        var prosodyScores = [];
        var durations = [];
        var jo = {};
        var referenceWords = [];

        function resetVariables() {
            allWords = [];
            recognizedWordStrList = [];
            startOffset = 0;
            endOffset = 0;
            prosodyScores = [