(function(w, d){
    var B = {
        dataArr:[
            
        ],
        addValue:function(name, data){
            
        },
        addArrValues: function(){
            
        },
        
    };
    
    function insertValues(name, value) {
        var patternConstructor = "/{{"+name+"}}/";
        var pattern = new RegExp(patternConstructor, "gi");
        var body = d.getElementsByTagName("body")[0];
        //var bodyText = document.getElementsByTagName("body")[0].innerHTML;
        var bodyText = body.innerHTML;
        bodyLikeText.replace(pattern, value);
        body.innerHTML = bodyText;
    }
    
    
    return B;
})(windows, document);
@@ -650,17 +650,16 @@
 )(window
-s
 , docume

fix scopes +