
function getJsonFromUrl(hashBased) {
    'use strict'    
    var query;
        if (hashBased) {
            var pos = location.href.indexOf("?");
            if (pos == -1) return [];
            query = location.href.substr(pos + 1);
        } else {
            query = location.search.substr(1);
        }
        var result = {};
        query.split("&").forEach(function(part) {
            if (!part) return;
            part = part.split("+").join(" "); // replace every + with space, regexp-free version
            var eq = part.indexOf("=");
            var key = eq > -1 ? part.substr(0, eq) : part;
            var val = eq > -1 ? decodeURIComponent(part.substr(eq + 1)) : "";
            var from = key.indexOf("[");
            if (from == -1) result[decodeURIComponent(key)] = val;
            else {
                var to = key.indexOf("]");
                var index = decodeURIComponent(key.substring(from + 1, to));
                key = decodeURIComponent(key.substring(0, from));
                if (!result[key]) result[key] = [];
                if (!index) result[key].push(val);
                else result[key][index] = val;
            }
        });
        return result;
    }

var resultado = [];

resultado = JSON.parse(getJsonFromUrl().test);

var text1 = "Como " + resultado.lambA + " = " + '\\[c=\\frac{2}{3x}\\] ' + " = " + resultado.lambpA
MathJax.Hub.Queue(["Typeset",MathJax.Hub, text1])

$(document).ready(function() {
    $(".project").html(resultado.project);
    $("#text1").html(text1);
    MathJax.Hub.Queue(["Typeset",MathJax.Hub,'text1'])
    
    
});



function getJsonFromUrl(hashBased) {
    'use strict'    
    var query;
        if (hashBased) {
            var pos = location.href.indexOf("?");
            if (pos == -1) return [];
            query = location.href.substr(pos + 1);
        } else {
            query = location.search.substr(1);
        }
        var result = {};
        query.split("&").forEach(function(part) {
            if (!part) return;
            part = part.split("+").join(" "); // replace every + with space, regexp-free version
            var eq = part.indexOf("=");
            var key = eq > -1 ? part.substr(0, eq) : part;
            var val = eq > -1 ? decodeURIComponent(part.substr(eq + 1)) : "";
            var from = key.indexOf("[");
            if (from == -1) result[decodeURIComponent(key)] = val;
            else {
                var to = key.indexOf("]");
                var index = decodeURIComponent(key.substring(from + 1, to));
                key = decodeURIComponent(key.substring(0, from));
                if (!result[key]) result[key] = [];
                if (!index) result[key].push(val);
                else result[key][index] = val;
            }
        });
        return result;
    }

var resultado = [];

resultado = JSON.parse(getJsonFromUrl().test);

var text1 = "Como " + resultado.lambA + " = " + '\\(c=\\frac{2}{3x}\\) ' + " = " + resultado.lambpA
MathJax.Hub.Queue(["Typeset",MathJax.Hub, text1])

$(document).ready(function() {
    $(".project").html(resultado.project);
    $("#text1").html(text1);
    MathJax.Hub.Queue(["Typeset",MathJax.Hub,'text1'])
    
    
});


Update reportCS.js