fix: integration with RequireJS