diff --git a/dc_ajax_add_cart.module b/dc_ajax_add_cart.module
index f668c57..8f3e2c3 100644
--- a/dc_ajax_add_cart.module
+++ b/dc_ajax_add_cart.module
@@ -332,8 +332,6 @@ function dc_ajax_add_cart_block_view($delta = '') {
           'total' => $total,
         ));
         $block['content'] .= '</div>';
-
-        drupal_add_library('system', 'drupal.ajax', TRUE);
       }
 
       module_load_include('inc', 'dc_ajax_add_cart', 'includes/dc_ajax_add_cart');
diff --git a/includes/dc_ajax_add_cart.inc b/includes/dc_ajax_add_cart.inc
index 7bce859..4ba5265 100644
--- a/includes/dc_ajax_add_cart.inc
+++ b/includes/dc_ajax_add_cart.inc
@@ -9,6 +9,7 @@
  * Includes resources required to make the carts functionable.
  */
 function dc_ajax_add_cart_include_cart_resources() {
+  drupal_add_library('system', 'drupal.ajax', TRUE);
   drupal_add_css(drupal_get_path('module', 'dc_ajax_add_cart') . '/css/dc_ajax_add_cart.css');
   drupal_add_js(drupal_get_path('module', 'dc_ajax_add_cart') . '/js/dc_ajax_add_cart_html.js');
 }
