Is there a way (event listener or otherwise) to detect when a particular external javascript is about to load / is loading / has finished loading?
In otherwords, do
If you can use jQuery, try $.getScript(). Docs here.
$.getScript()