diff --git a/sites/all/modules/recaptcha/recaptcha.module b/sites/all/modules/recaptcha/recaptcha.module
index cb2a44d..2c2fa78 100644
--- a/sites/all/modules/recaptcha/recaptcha.module
+++ b/sites/all/modules/recaptcha/recaptcha.module
@@ -157,7 +157,8 @@ function recaptcha_captcha() {
             // using custom theme).
             '#markup' => '<div id="recaptcha_ajax_api_container">' . $recaptcha_custom_html . '</div>',
           );
-          drupal_add_js('https://www.google.com/recaptcha/api/js/recaptcha_ajax.js', array('type' => 'external'));
+//          drupal_add_js('https://www.google.com/recaptcha/api/js/recaptcha_ajax.js', array('type' => 'external'));
+          drupal_add_library("recaptcha", "recaptcha");
           $recaptcha_options['public_key'] = $recaptcha_public_key;
           $recaptcha_options['container'] = 'recaptcha_ajax_api_container';
           drupal_add_js(array('recaptcha' => $recaptcha_options), 'setting');
@@ -249,3 +250,16 @@ EOT;
 function _recaptcha_load_library() {
   return module_load_include('php', 'recaptcha', 'recaptcha-php-1.11/recaptchalib');
 }
+
+function recaptcha_library(){
+  return array(
+    'recaptcha' => array(
+      'title' => 'reCaptcha',
+      'website' => 'https://www.google.com/recaptcha/api/js/recaptcha_ajax.js',
+//      'version' => '3.0.4',
+      'js' => array(
+        'sites/all/libraries/recaptcha/recaptcha_ajax.js' => array()
+      )
+    )
+  );
+}
