title: jqGrid autoencode=true not used when addJSONData is called
body: <p>If I return JSON that contains javascript from server and populate it to jqGrid via addJSONData it will be executed even I have autoencode = true in options. To prevent XSS I had to modify jqGrid´s addCell function this way</p>
  
  <pre><code>        var v,prp;
          // This if block has been added
          if(ts.p.autoencode) {
              cell = $.jgrid.htmlEncode(cell);
          }
          v = formatter(rowId,cell,pos,srvr,'add');
          prp = formatCol( pos,irow, v, srvr, rowId, true);
          return "&lt;td role=\"gridcell\" "+prp+"&gt;"+v+"&lt;/td&gt;";
  </code></pre>
  
  <p>Is this the correct way to prevent XSS or is there some other way in jqGrid to do this? </p>