Hi @datnguyenfiserv ,
In AEM as a Cloud Service (and newer AEM versions), anything under /etc/designs is deprecated and no longer accessible. That’s why your JS file returns 404.
The fix is to move your client library to /apps/<project>/clientlibs or /apps/<project>/frontend, and include it using the recommended cq:clientLibraryFolder structure. Then deploy and reference it via the granite:ClientLibInclude tag or clientlib categories.
don’t use /etc/designs migrate the JS to /apps/clientlibs and re-include it. That will resolve the loading issue.
Hrishikesh Kagane