I'm about to work on this and will update.  I'm not sure how much effort API calls will be, so first i'm going to try to get a static resource package to work, and proceed from there.

There was some chatting about requirejs / AMD support in XBlock yesterday - that came up in the context of safely scoping js code in blocks, but it could also be part of a solution for loading scripts asynchronously too.