to support versions, this must be done.
myLibrary.version = { major : 1, minor : 4, datetime : "20110225223456", toString : function () { return this.major+ "." + this.minor; } }
and for the bootloader mechanism, I found this to be a good place to start with .. http: //ajaxian.com/archives/modulesjs-a-new-stand-alone-javascript-module-loader or specifically http: //requirejs.org/ useful.
And something that I just stumbled upon. http://labjs.com/
source share