Content delivery network are a cool thing though I am not sure how secure is such an approach. I will have to take a closer look.
In particular in the case of using dojo, a few issues have to be taken into account.
Interesting seems that google provides an api for asynchonuous loading.
Browser based javascript library loading
Wouldn't it be interesting to have browser taking care of the javascript frameworks library loading such as dojo, ext, ... in the version corresponding to some specification in the HTML file.