Safe method to temporarily load second jquery library to wordpress

Instead of rolling-your-own, just use a plugin designed specifically for that purpose for the CDN in question:

https://wordpress.org/plugins/use-google-libraries/