Added RequireJS and CommonJS support.