Allowing the script directory to be set in mjs.config before the rest of the mjs object is loaded.  Not executing the three requires at the end of the file if mjs.config.amd is true.  Also not looking for the mjs script tag if mjs.config.amd is true.