Support Common.js and AMD modules