" style="padding-right: 0.1px"><span class="cm-def">Failure:</span></span></pre>`;
            for(var i = 0;i < error.length;i++){
              html += `<pre class="CodeMirror-code"><span role="presentation" style="padding-right: 0.1px"><span class="cm-def">${error[i]}</span></span></pre>`;
            };
            result_window.html(html);
        }
      });
    }

    function populate_model() {
      query = getHashParams().query;
      model_query = $("#id_query");
      model_query.val(query);
   