Got rid of Pete's JS to generate Community dropdown, as the PHP code to generate it has gone missing!

Was causing a JS undefined error
// convert generated filter list into select input