<commit_before>(function () {

    switch (window.location.pathname.split('/')[1]) {

        case 'popular':

            document.getElementById("popular").style.textDecoration="underline";
            break;

        case 'theatres':

            document.getElementById("theatres").style.textDecoration="underline";
            break;

        case 'upcoming':

            document.getElementById("upcoming").style.textDecoration="underline";
            break;

        case 'search':

            document.getElementById("search").style.textDecoration="underline";
            break;        

        default:

            document.getElementById("search").style.textDecoration="underline";

    }

})();

(function () {
    
    document.getElementById("submit").addEventListener("click", function () {

        document.getElementById("search_form").submit();

    }, false);

})();<commit_msg>Fixed active page detection in the menu<commit_after>(function () {

    switch (window.location.pathname.split('/')[1]) {

        case 'popular':

            document.getElementById("popular").style.textDecoration="underline";
            break;

        case 'theatres':

            document.getElementById("theatres").style.textDecoration="underline";
            break;

        case 'upcoming':

            document.getElementById("upcoming").style.textDecoration="underline";
            break;

        case 'search':

            document.getElementById("search").style.textDecoration="underline";
            break;        

        case '':

            document.getElementById("search").style.textDecoration="underline";            

        default:

            ''

    }

})();

(function () {
    
    document.getElementById("submit").addEventListener("click", function () {

        document.getElementById("search_form").submit();

    }, false);

})();
{'fraction_non_alphanumeric': 0.1443024494142705, 'fraction_numerical': 0.0010649627263045794, 'mean_word_length': 2.3197879858657244, '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': '312946', 'n_tokens_mistral': 472, 'n_tokens_neox': 437, 'n_words': 59}