Add support for RequireJS and other AMD loaders