    var update_selected_labels = function() {
        var count = 0;
        $(".ui-selected", div_all_tags).not(".filtered").each(function() {
            var $this = $(this);
            if ($this.hasClass('alltags-tagset')) {
                count += $this.nextUntil(":not(.alltags-childtag)").not(
                    ".filtered, .ui-selected").length;
            } else {
                count++;
            }
        });
        $("#id_tags_selected").text(count ? count + " selected" : "");
        var tagset = get_selected_tagset();
        if (tagset) {
            $("#id_selected_tag_set").html(
                "Add a new tag in <span class='tagset-title'>" +
                tagset.text() + "</span> tag set and select it immediately:");
        } else {
            $("#id_selected_tag_set").text(
                "Add a new tag and select it immediately:");
        }
    };
The software does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.