make DefineModuleType protected

added a new optional DomNode type for the module type