ちょくちょく使うようになってきたのでメモ
(function(items){ var head = document.getElementsByTagName("head")[0]; for(var i = 0, len = items.length; i < len; i++) { var script = document.createElement("script"); script.src = items[i].src; script.type = "text/javascript"; if(items[i].charset) { script.charset = items[i].charset; } head.insertBefore(script, head.firstChild); } })([ { src: "hoge.js", charset: "" }, { src: "fuga.js", charset: "" } ]);