s = document.createElement('script');
s.src = 'file://path/to/script.js';
document.body.appendChild(s)