Lazy load scripts

The simple version:

More sophisticated, e.g. with getScript

Multiple scripts: