Attribute('id', 'canvas_' + commandId);
             // txt = txt + chartDiv[0].outerHTML;
             var canvasHtml = $('<div id="canvas_div_' + commandId + '" class="chartjs-size-monitor"> <canvas id="canvas_' + commandId + '" class="chartjs-render-monitor">')[0].outerHTML;
             txt = txt + canvasHtml;
          }
          if (json.hasOwnProperty('text')) {
		  	  escapedText = $('<div>').text(json.text).html()
              txt = txt + '<div class=\'response\'>' + escapedText + '</div>';
     