increment group counters when a user is created

decrease user count in affected groups after user delete

increase/decrease everyone count on user creation/deletion

avoid global selector
fixing JS syntax errors

remove the group in case the last user has removed from that group

cleanup

use .filterAttr()