fixed javascript on rsvp submission
fixed error handling so error message only shows up once