/*
* sameHeight jQuery plugin
* http://github.com/sidewaysmilk/jquery-sameheight
*
* Copyright 2011, Justin Force
* Licensed under the MIT license
*/
jQuery.fn.sameHeight = function() {
  var these = this;
  function setHeight() {
    var max = 0;
    these.height('auto').each(function() {
      max = Math.max(max, jQuery(this).height());
    }).height(max);
  };
  jQuery(window).resize(setHeight);
  setHeight();
  return this;
};


(function($) {
  $.fn.sameHeight = function() {
    var these = this;
    function setHeight() {
      var max = 0;
      these.height('auto').each(function() {
        max = Math.max(max, $(this).height());
      }).height(max);
    };
    $(window).resize(setHeight);
    setHeight();
    return this;
  };
})(jQuery);

--- 
+++ 
@@ -1,14 +1,20 @@
-(function($) {
-  $.fn.sameHeight = function() {
-    var these = this;
-    function setHeight() {
-      var max = 0;
-      these.height('auto').each(function() {
-        max = Math.max(max, $(this).height());
-      }).height(max);
-    };
-    $(window).resize(setHeight);
-    setHeight();
-    return this;
+/*
+* sameHeight jQuery plugin
+* http://github.com/sidewaysmilk/jquery-sameheight
+*
+* Copyright 2011, Justin Force
+* Licensed under the MIT license
+*/
+jQuery.fn.sameHeight = function() {
+  var these = this;
+  function setHeight() {
+    var max = 0;
+    these.height('auto').each(function() {
+      max = Math.max(max, jQuery(this).height());
+    }).height(max);
   };
-})(jQuery);
+  jQuery(window).resize(setHeight);
+  setHeight();
+  return this;
+};
+
Add header and don't use $ for jQuery
