diff -up uc_aac-backup/uc_aac.js uc_aac/uc_aac.js
--- uc_aac-backup/uc_aac.js	2010-11-13 23:18:25.146475012 +0100
+++ uc_aac/uc_aac.js	2010-11-13 23:57:28.016474999 +0100
@@ -1,5 +1,7 @@
 // $Id: uc_aac.js,v 1.1.2.6 2010/07/16 17:52:39 cyu Exp $
 
+(function ($) {
+
 function ucAacCalculate(element) {
   var form = $(element).parents('form');
   form.ajaxSubmit({
@@ -24,15 +26,18 @@ function ucAacCalculate(element) {
   });
 }
 
-jQuery.fn.ucAacAttach = function() {
-  $(this).find('select[name^=attributes]').change(function() {
+$.fn.ucAacAttach = function() {
+  this.find('select[name^=attributes]').change(function() {
     ucAacCalculate(this);
   });
-  $(this).find('input:radio[name^=attributes], input:checkbox[name^=attributes]').click(function() {
+  this.find('input:radio[name^=attributes], input:checkbox[name^=attributes]').click(function() {
     ucAacCalculate(this);
   });
+  return this;
 }
 
 Drupal.behaviors.ucAac = function() {
   $('.uc-aac-cart').ucAacAttach();
 };
+
+})(jQuery);
