nd.
    function runJS(code) {
      jQuery.post('/run-js', code);
    }

    // Loads the given script file and executes it on the CosmoScout VR backend.
    function loadJS(file) {
      if (file) {
        var reader = new FileReader();
        reader.onload = function (evt) {
          jQuery.post('/run-js', evt.target.result);
        };
        reader.readAsText(file);
      }
    }

    // Loads the given file and sends it to the CosmoScout VR backend.
    function loadSettings(file) {
      if (file