aggregated module definitions on single source

config.loadModule will not be invoked when Module is already loading
(i.e. defined on the same source file / already resolved)
dependency check failure

was using module id instead of dependencyId
another example program

main function triggered when window.document.readyState is completed