fixed js for rsvp after filtering