Fixes #1249 - memberlist.php "undefined"

Fixes #1249 and other issues for Select2