# How do I disable JavaScript and CSS render blocking

**URL:** <https://community.hubspot.com/t/how-do-i-disable-javascript-and-css-render-blocking/3925>\
**Category:** CMS Development\
**Created:** [November 16, 2017, 2:35pm UTC](https://community.hubspot.com/t/how-do-i-disable-javascript-and-css-render-blocking/3925 "2017-11-16T14:35:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![PatrykJ](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/patrykj/32/73373_2.png) [@PatrykJ](https://community.hubspot.com/u/PatrykJ)\
**Post date:** [March 14, 2018, 3:18pm UTC](https://community.hubspot.com/t/how-do-i-disable-javascript-and-css-render-blocking/3925/6 "2018-03-14T15:18:08Z")

</div>

You can do something like that:

```auto
{{ standard_header_includes|cut('https://static.hsstatic.net/jquery-libs/static-1.4/jquery/jquery-1.11.2.js')|cut('https://static.hsstatic.net/content_shared_assets/static-1.4049/css/public_common.css')|cut("hsjQuery = window['jQuery']") }}
...
{{ standard_footer_includes|cut('https://static.hsstatic.net/content_shared_assets/static-1.4049/js/public_common.js') }}

```

to remove .js and .css which you don’t need.

And this is my score, which I have finally achived on the HubSpot page - [jointacademy.com](https://www.jointacademy.com).

 ![382095af-1bca-4b9c-a7d8-a39a556121d7.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/6/e/6e756e2353a88c93d6b4c4624cee69e5e361cf8d.png)

There is plenty of problems with HubSpot if you want to build a good website. You need hacky solutions and there are still issues which you can’t solve, btw you can’t use service worker. ;/

---

_[View the full topic](https://community.hubspot.com/t/how-do-i-disable-javascript-and-css-render-blocking/3925)._
