As far as I can grep, there is never a check in JS for 'Ungrouped' - even if there was, there should be JS gettext being used for translated strings. I have now wrapped group_id in _() in this check as well, consistent with other parts of the view code.