use undefined for empty values in legend filters
renamed all _that instances to relevant var names
fixed bug when 1 reponse is available for the legend
langauge selector