rem: cont = $(this.id.search(/--/)!=-1 ? "#portfolio":"#documents") 
add: cont = jQuery(this.id.search(/--/)!=-1 ? "#portfolio":"#documents") 
context: function async_upload_portfolio_documents(res){  res.find(">div").each(function(){    var cont = $("#"+this.id);    var self = $(this);    if(!cont.size()) {      cont = $(this.id.search(/--/)!=-1 ? "#portfolio":"#documents")      .append(self.clone().get());    }    verifForm(cont.html(self.html()));    $("form.form_upload",cont).async_upload(async_upload_portfolio_documents);  });  return true;             }
meta: 207	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/207/2a412036f3c5a2b3a80f77365766e10a2029938f/async_upload.js/buggy/dist/javascript/async_upload.js