When we dynamically insert JS spript in head, it triggers unblocking(or parallel with other resources) download of JS file. Once the JS gets downloaded, does the browser block while parsing and executing the script or the parsing and execution is also aynchronous?
var headID = document.getElementsByTagName("head")[0];
var newScript = document.createElement('script');
newScript.type = 'text/javascript';
newScript.src = 'http://www.somedomain.com/somescript.js';
headID.appendChild(newScript);