A specification for interoperable JavaScript modules, with unit tests for verifying module loader implementations, validators for verifying module conformance, and prototype implementations of module loaders.
https://wiki.mozilla.org/index.php?title=ServerJS/Modules/SecurableModules