" id="cb97-16" title="16">    <span class="dt">elementId =</span> elementId</a>
<a class="sourceLine" id="cb97-17" title="17">  )</a>
<a class="sourceLine" id="cb97-18" title="18">}</a></code></pre></div>
<p>The change in the R code must be mirrored in the <code>peity.js</code> file, where it should set the <code>innerText</code> to <code>x.data</code> instead of <code>x.message</code>.</p>
<div class="sourceCode" id="cb98"><pre class="sourceCode js"><code class="sourceCode javascript"><a class="sourceLine"