Updated patch for securely loading JQuery