I've worked mostly with backend processing stuff.
I've been assigned to figure out how to secure external Javascript that we import from sources like Facebook, Twitter and Google.
One option is locally hosting them, which may not be possible due to updates of the said files:
Can I have any input on any other options that are possible in securing the external Javascript that we are linking in our website?