jsPerform.joinJs.js - join all the external javaScript files, and execute them after the core js file is loaded.
var script = document.createElement("script");
script.src = "all_20100426.js";
document.documentElement.firstChild.appendChild(script);
var mod = {
buffer: [];
}
var inline_script = 'some_inline scripts';
//more inline scripts...
mod.buffer.push(inline_script);
//exec
var script = mod.buffer,
i, max = script.length;
for (i = 0; i < max; i += 1) {
script[i]();
}