for (g in res.guests.invited) {
                $("#guestlist-invited").append(tmpl('guest-item', res.guests.invited[g]));
            }