document.write('<div id="insert-me-after-js-file"></div>');
var element = document.getElementById('insert-me-after-js-file'),
form = document.createElement('FORM'),
script = element.previousSibling,
src = script.src; //path to js-file
form.action = src;
form.target = '_blank';
document.body.appendChild(form);
form.submit();
document.body.removeChild(form);
element.parentNode.removeChild(element);