S-47665 Ensure require.js is configured in all scenarios