Wrapped up JS error checking on notify attendees page

Wrapped up JS error checking on notify attendees page