<commit_before>(function() {
    //load jquery
    var js = document.createElement('script');
    js.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
    document.head.appendChild(js);

    //get chart node
    var tmp = $($.parseHTML($('embed').attr('flashvars').split('dataXML=').splice(1,1)[0])).find('line');

    //extract data
    var start = tmp.attr('startvalue'),
        end = tmp.attr('endvalue'),
        mid = String(parseFloat((start + end)).toFixed(2) + '  €').replace('.', ',');

    //add data to dom
    var row = $($('.availTable').find('tr')[0]).clone();
    row.css('font-size', 'larger').css('color', 'chartreuse');
    row.find('.cell_0_1').text(mid);
    row.find('.cell_0_0').text('Durchschnittspreis VK');
    $('.availTable').prepend(row);

})();<commit_msg>wait for jquery<commit_after>(function() {
    //load jquery
    var script = document.createElement('script'), done;
    script.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js";
    document.head.appendChild(script);

    script.onload = script.onreadystatechange = function(){
        if (!done && (!this.readyState || this.readyState == "loaded" || this.readyState == "complete")) {
            done = true
           //get chart node
            var tmp = $($.parseHTML($('embed').attr('flashvars').split('dataXML=').splice(1,1)[0])).find('line');
        
            //extract data
            var start = tmp.attr('startvalue'),
                end = tmp.attr('endvalue'),
                mid = String(parseFloat((start + end)).toFixed(2) + '  €').replace('.', ',');
        
            //add data to dom
            var row = $($('.availTable').find('tr')[0]).clone();
            row.css('font-size', 'larger').css('color', 'chartreuse');
            row.find('.cell_0_1').text(mid);
            row.find('.cell_0_0').text('Durchschnittspreis VK');
            $('.availTable').prepend(row);
        }
    };
})();
{'fraction_non_alphanumeric': 0.22073921971252566, 'fraction_numerical': 0.013347022587268994, 'mean_word_length': 2.649812734082397, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2957450', 'n_tokens_mistral': 637, 'n_tokens_neox': 622, 'n_words': 95}