I'm dynamically adding script usign:

```
var el = document.createElement("script");
document.getElementsByTagname("head")[0].appendChild(el);

```

It seems neither `script.onload` nor `document.onreadystatechange` could be used to determine the end of loading process. How should I catch dynamic script load completion?