This demo shows that multiple versions of a script (in this case, different versions of jQuery) may be loaded side-by-side, without affecting each others' scope or namespace.

Sandie does this by creating a temporary iframe document for the scripts to be sandboxed.

View the source of this page to see what's going on.

by @premasagar