Load remote jquery securely (if needed)

I tried to also add this for themes I am not using, but I can't seem to figure out the subrepo thing.