Instead of hard coding the groups, why not do something like

    var rankLists = {};
    for (var u in room.auth) {
        if (!rankLists[room.auth[u]]) rankLists[room.auth[u]] = [];
        rankLists[room.auth[u]].push(u);
    }