nJS(`CosmoScout.callbacks.stars.setEnabled(${this.checked})`)"&gt;</code></pre>

            Where the runJS() method in this example is simply defined as:

            <pre><code class="javascript">// Runs the given JavaScript code on the CosmoScout VR backend.
function runJS(code) {
  jQuery.post('/run-js', code);
}</code></pre>

          </div>
        </li>
      </ul>

    </div>
  </main>

  <footer class="page-footer blue-grey center-align">
    <div class="footer-copyright blue-grey darken-1">
    