Issue with javascripts loading in production env

I have added few libraries in my application and I have tested it in my local machine and they are working. But when I host it on my server and set the env to productions those libraries are not loading or the effects are appearing on my page.