tarea>");
    }

    if(navigator.userAgent.indexOf("Edge") == -1) {
        var downloadLink = document.createElement('a');
        downloadLink.setAttribute("download","report.txt");
        downloadLink.href = "data:," + escape(textarea.value);
        downloadLink.textContent = "download";
        document.body.appendChild(downloadLink);
    }

    function appendReportFor(markup) {
        var report = markup.innerHTML + '\r\n\r\n';

        //
        // append markup to the dom
        //
        var