I am working on the Fueld website performance which is built in HubSpot CMS. I test the website using HubSpot website grader tool which I implemented in the website https://fueld.nl/websitescan. One of the things I needed to uptimize was the security which was as below.

The solution provided by HubSpot was

Remove the JavaScript library or update it with a security patch.

The solution to implement this, is to disable jQuery on the website or update it to the newest version if I use jQuery on the website. Based on this tutorial from HubSpot I first tried to check the website if no jQuery is implemented by adding ?hsNoJQuery=true&hsDebug=true to the end of my website URL so the final URL is https://fueld.nl/?hsNoJQuery=true&hsDebug=true. This specific one tells HubSpot to disable jQuery when loading the page. This only affects what you see and doesn’t break the site for other visitors. This method shows me no error of jQuery and the page loads correctly which means there is no jQuery used on this page. So the next step is to disable jQuery by goging to setting > Tools > Content > Pages and in the right panel in the Templates tab, uncheck the “Include jQuery” in the jQuery section.

By doing so, the jQuery is disabled on the website and the new report shows the problem is solved.