Fix bug with rsvp JS