diff --git a/themes/blueprint/js/cart.js b/themes/blueprint/js/cart.js
index 85a3bed5baa2ca645f014d961cfdb3cae798c1bc..5ff773997fc65cb3ab9cbd6377b17df3789dc759 100644
--- a/themes/blueprint/js/cart.js
+++ b/themes/blueprint/js/cart.js
@@ -2,31 +2,6 @@ var _CART_COOKIE = 'vufind_cart';
 var _CART_COOKIE_SOURCES = 'vufind_cart_src';
 var _CART_COOKIE_DELIM = "\t";
 
-$(document).ready(function() {
-
-    var cartRecordId = $('#cartId').val();
-    $('#cartItems').hide();
-    $('#viewCart, #updateCart, #bottom_updateCart').removeClass('offscreen');
-
-    // Record
-    $('#recordCart').removeClass('offscreen').click(function() {
-        if(cartRecordId != undefined) {
-            if ($(this).hasClass('bookbagAdd')) {
-                updateCartSummary(addItemToCartCookie(cartRecordId));
-                $(this).html(vufindString.removeBookBag).removeClass('bookbagAdd').addClass('bookbagDelete');
-            } else {
-                updateCartSummary(removeItemFromCartCookie(cartRecordId));
-                $(this).html(vufindString.addBookBag).removeClass('bookbagDelete').addClass('bookbagAdd');
-            }
-        }
-        return false;
-    });
-    redrawCartStatus()
-    var $form = $('form[name="bulkActionForm"]');
-    registerUpdateCart($form);
-
-});
-
 function registerUpdateCart($form) {
     if($form) {
         $("#updateCart, #bottom_updateCart").unbind('click').click(function(){
@@ -192,4 +167,27 @@ function removeCartCheckbox() {
  $('.checkbox_ui, .selectAllCheckboxes').each(function(){
      $(this).attr('checked', false);
  });
-}
\ No newline at end of file
+}
+
+$(document).ready(function() {
+    var cartRecordId = $('#cartId').val();
+    $('#cartItems').hide();
+    $('#viewCart, #updateCart, #bottom_updateCart').removeClass('offscreen');
+
+    // Record
+    $('#recordCart').removeClass('offscreen').click(function() {
+        if(cartRecordId != undefined) {
+            if ($(this).hasClass('bookbagAdd')) {
+                updateCartSummary(addItemToCartCookie(cartRecordId));
+                $(this).html(vufindString.removeBookBag).removeClass('bookbagAdd').addClass('bookbagDelete');
+            } else {
+                updateCartSummary(removeItemFromCartCookie(cartRecordId));
+                $(this).html(vufindString.addBookBag).removeClass('bookbagDelete').addClass('bookbagAdd');
+            }
+        }
+        return false;
+    });
+    redrawCartStatus()
+    var $form = $('form[name="bulkActionForm"]');
+    registerUpdateCart($form);
+});
\ No newline at end of file