where do u stored your javascripts files in salesforce ?
Anonimo
If we are using that particular JS file in Visualforce Page so in that scenario we can access while uploading our JS file in static resource or by call it directly on Visualforce Page but on the another side If we want to use that plugin in Lightning Component for this its mandatory to upload our JS file in static resource because lightning component initially run on client side.