Creates a HTML script element from a url.
url of the script
root element to add the script to (default: head)
Creates a HTML script element from a url.