for (var j = 0; j < scripts.length; j++) { addScript(scripts[j].src, scripts[j].text); } } } } })();