a converter between CommonJS and XMD(AMD/CMD)