title: "setting a property that has only a getter"- javascript error with firefox
body: <p>Up until recently, I had been using Safari 4 for testing and debugging my current jQuery Plugin.  I tried my code out in Firefox and it started to complain about something within the JQuery-Framework: "setting a property that has only a getter".
  I tried to find out which line causes Firefox to complain and found that this happens somewhere here**</p>
  
  <pre><code>$.fn.util.create_$dom = function(opt) {
      var $dom = {};
      $.each(opt.dom,function(name,val){
          console.log(name);
          var $elm = $('&lt;div&gt;');
          $.each(opt.dom[name],function(_name,_val){
              if(_name == 'tagName') $elm = $('&lt;'+_val+'/&gt;');
          });
                      console.log(name+': ok');
          $.each(opt.dom[name],function(_name,_val){             **here       
              switch(_name){                                     **here
                  case 'className': $elm.addClass(_val);         **here
                  default: $elm.attr(_name, _val);               **here
              }                                                  **here
          });
          $dom[name] = $elm;
          console.log(name+': ok');
      });
      return $dom;
  };
  </code></pre>
  
  <p>options.dom looks like this:</p>
  
  <pre><code>    dom:{
          wrapper:{className:'wrapper'},
          inner:{tagName:'p',className:'test',test:'bla'}
      },
  </code></pre>