p.onload = () => { if (xmlHttp.readyState === xmlHttp.DONE && xmlHttp.status === 200 && req_id === req_count) {
                    if (xmlHttp.responseText === "mongo_data is valid") {
                        setMongoValidity ("Valide");
                        var ask = new XMLHttpRequest();
                        ask.open("POST", "/", true);
                        ask.setRequestHeader("Content-Type", "application/json");
                        ask.send(JSON.stringify({request_type:'mongo-validation-na