UPDATED:
medb.js and storage.js to start using jqueries, deferred object to manage the callback hierarchy.
I need to modify the database upgrade routine to use internal versioning system.  DB.changeVersion() function is too unpredictable.