Add client-side validation; verify checkboxes.

Add client-side javascript validation of name and email fields; double-check
with the user before signing if they checked none of the three checkboxes.