Add RequireJS compatibility