<script>
function inject() {
for (var i = 0; i < arguments.length; i++) {
if (typeof arguments[i] === 'function') {
var script = document.createElement('script');
script.textContent = '('+ arguments[i].toString() +')(jQuery);';
document.body.appendChild(script);
}
}
}
</script>