hotfix: fixes that problem loading JS code from RequireJS