refactored: recaptcha rendering