Memory Leak (Windows CE 5, IE)

Memory Leak (Windows CE 5, IE)

Running some code on Internet Explorer on Windows CE 5 and getting the following error: http://support.microsoft.com/kb/922952

It suggests I "release all dynamically allocated event handlers in the onunload event for the Web page," which I thought would be accomplished with:
  1. $(window).unload(function (){$( ** selectors for most all bound objects ** ).unbind();
(Not all bound objects, because I have a bound 'back' image/link that I can't unbind - but everything else)

However, I'm losing a not insignificant chunk of memory with each refresh, and it gives me the out of memory error within about a half dozen refreshes. This is the only relevant javascript in the page:

  1.   $(document).ready(function(){
  2.     $(":input").tabEnter();             // this binds things
  3.     load_keyboard_js();              // this too
  4.     focus_click_bindings();        // this too
  5.                                             // but they all should be eliminated here:
  6.     $(window).unload(function (){
  7.         $('.clear_on_click, .clear_on_click_only, #upc, #form, #cases, #units').unbind();
  8.     });
  9.    
  10.     $("#upc").unbind('blur').bind(                // was previously bound
  11.                 'blur',
  12.                 function(){
  13.                         $(this).val(
  14.                                 add_zeros($(this).val())
  15.                                 );
  16.                         item_search($(this).val(),true);
  17.                 }
  18.         );
  19.    
  20.     $("#upc").focus();
  21.     $("#form").validate(
  22.              {
  23.                 focusInvalid:true,errorPlacement:
  24.                         function(error,element){
  25.                                 error.insertAfter(element);$("<br />").insertAfter(element);
  26.                                 },
  27.                 submitHandler:function(form){
  28.                         $('#form').ajaxSubmit({
  29.                                 target:'#main_div',
  30.                                 success:focus_confirm_link
  31.                         });},
  32.                     highlight:function(element,errorClass)
  33.                     {
  34.                               $(element).addClass("invalid_input");
  35.                     },
  36.                 errorClass:"invalid_input",validClass:"valid_input"});
  37.               
  38.                 return false;
  39.          });

Thanks for any help -- I've been stuck on this for weeks and haven't come up with anything.