add RequireJS support