clean up front-end recaptcha handling