Make sure the country filter is visible
Provide a hard-failing test for when no matches found

When no countries are found, there should be no countries visible.
Show only one country when only a single letter matches
Use readable variables for function signatures in jQuery

Most devs might not be familiar with the function (a, i, m) idiom for
building out jQuery expressions. To prevent any confusion, provide
specific names for these variables.