--- recaptcha/recaptcha.module	2010-06-01 12:55:13.000000000 +0200
+++ recaptcha/recaptcha.module	2009-09-23 18:45:12.000000000 +0200
@@ -189,7 +183,7 @@ function recaptcha_captcha() {  
           if (!empty($recaptcha_tabindex)) {
             $js .= ', tabindex : '. $recaptcha_tabindex;
           }
-          // drupal_add_js($js .'};', 'inline');
+          drupal_add_js($js .'};', 'inline');
         }
         
         // Create the form
@@ -197,7 +191,7 @@ function recaptcha_captcha() {  
         $result['solution'] = TRUE;   // require TRUE to be returned
         $result['form']['captcha_challenge'] = array(
           '#type' => 'item',
-          '#description' => '<script type="text/javascript">'.$js.'};</script>'.recaptcha_get_html($recaptcha_public_key, NULL, $recaptcha_secure_connection),
+          '#description' => recaptcha_get_html($recaptcha_public_key, NULL, $recaptcha_secure_connection),
           '#required' => TRUE,
           '#value' => $recaptcha_form_value ? '<div id="recaptcha_custom_theme_widget">'. $recaptcha_form_value . '</div>' : NULL,
         );
