Issue Description :
The issue occurring when sling redirecting the user to 404 error page. The redirection is properly happening to custom 404 error page, but the page is broken completely (i.e css and java scripts not loaded) the in the console it is throwing error Uncaught ReferenceError: jQuery is not defined.
Please let me know if anybody has come across this kind of issue or what probably can cause this kind of issue in AEM.