refactoring the output code to use one call to loadModules (plural) rather than a chain of nested calls to loadModule (singular) -- makes for substantially cleaner pretty-printed JS, since it cuts the nesting depth from O(2 * #modules imported) to O(2).