Title: How do I defer parsing JavaScript?
Last modified: August 21, 2016

---

# How do I defer parsing JavaScript?

 *  Resolved [anthonypearson88](https://wordpress.org/support/users/anthonypearson88/)
 * (@anthonypearson88)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-do-i-defer-parsing-javascript/)
 * Hi,
 * I’ve looked around, found a few articles, but nothing really to help a relative
   amateur like myself when it comes to messing about with Java.
 * I’m trying to optimize my website so that it runs as smoothly as possible.
 * When I run Page Speed on [GTMetrix](http://gtmetrix.com/reports/www.buildyourownhouse.uk.com/QsRpIktC),
   I get a poor score of F in the “Defer Parsing of JavaScript” section. I look 
   at the details and this is what is says.
 * [http://gtmetrix.com/reports/www.buildyourownhouse.uk.com/QsRpIktC](http://gtmetrix.com/reports/www.buildyourownhouse.uk.com/QsRpIktC)
 * > 489.1KiB of JavaScript is parsed during initial page load. Defer parsing JavaScript
   > to reduce blocking of page rendering.
   >  [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/jquery-ui.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/jquery-ui.js?ver=3.8.1)(
   > 255.6KiB)
   >  [http://www.buildyourownhouse.uk.com/wp-includes/js/jquery/jquery.js?ver=1.10.2](http://www.buildyourownhouse.uk.com/wp-includes/js/jquery/jquery.js?ver=1.10.2)(
   > 83.7KiB) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/main_front_end.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/main_front_end.js?ver=3.8.1)(
   > 41.6KiB) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar.js?ver=3.8.1)(
   > 31.7KiB) [http://static.ak.facebook.com/connect/xd_arbiter.php?version=40](http://static.ak.facebook.com/connect/xd_arbiter.php?version=40)(
   > 21.3KiB of inline JavaScript) [https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=40](https://s-static.ak.facebook.com/connect/xd_arbiter.php?version=40)(
   > 21.3KiB of inline JavaScript) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/jquery.ui.slider.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/jquery.ui.slider.js?ver=3.8.1)(
   > 10.8KiB) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar_function.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar_function.js?ver=3.8.1)(
   > 8.3KiB) [http://www.buildyourownhouse.uk.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1](http://www.buildyourownhouse.uk.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1)(
   > 5.5KiB) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/if_gmap_front_end.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/if_gmap_front_end.js?ver=3.8.1)(
   > 3.5KiB) [http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar-setup.js?ver=3.8.1](http://www.buildyourownhouse.uk.com/wp-content/plugins/form-maker/js/calendar-setup.js?ver=3.8.1)(
   > 3.4KiB) [http://maps.google.com/maps/api/js?sensor=false&ver=3.8.1](http://maps.google.com/maps/api/js?sensor=false&ver=3.8.1)(
   > 1.5KiB) [http://www.buildyourownhouse.uk.com/](http://www.buildyourownhouse.uk.com/)(
   > 734B of inline JavaScript)
 * Most of the problems seem to come from one plugin, the web durado form maker.
   This is not on the home page, but on an entirely different page. The form is 
   an essential part of the website.
 * Does anyone know how and what I should do so that I get a better score on my **
   Page Speed** for “Defer parsing of JavaScript”?
 * What files would I need to edit?
 * My web address is [http://www.buildyourownhouse.uk.com](http://www.buildyourownhouse.uk.com)
 * Any help would be hugely appreciated.
 * Anthony

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-do-i-defer-parsing-javascript/#post-4589348)
 * Can you just use a plugin that moves JavaScript to the bottom of the page?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-do-i-defer-parsing-javascript/#post-4589350)
 * You can use a parameter in [wp_enqueue_script()](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
   to shift .js to the page footer.
 *  Thread Starter [anthonypearson88](https://wordpress.org/support/users/anthonypearson88/)
 * (@anthonypearson88)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/how-do-i-defer-parsing-javascript/#post-4589366)
 * Andrew, thanks that worked a treat. Something so simple too.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘How do I defer parsing JavaScript?’ is closed to new replies.

## Tags

 * [defer parsing](https://wordpress.org/support/topic-tag/defer-parsing/)
 * [Defer parsing JavaScript](https://wordpress.org/support/topic-tag/defer-parsing-javascript/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [anthonypearson88](https://wordpress.org/support/users/anthonypearson88/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/how-do-i-defer-parsing-javascript/#post-4589366)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
