Title: Page Speed Insight issuesJavaScript
Last modified: August 31, 2016

---

# Page Speed Insight issuesJavaScript

 *  Resolved [poojaindia](https://wordpress.org/support/users/poojaindia/)
 * (@poojaindia)
 * [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/)
 * I am trying to speed up my [website ](http://www.traveljots.com)using Google 
   PageSpeed Insights. I have read [this post ](https://wordpress.org/support/topic/how-to-remove-the-top-of-the-page-javascript-code?replies=5)
   and used Better WordPress Minify Plugin, which helped a bit. However, still the
   following links are creating trouble with page speed.
    [http://www.traveljots.com/…-includes/js/jquery/jquery.js?ver=1.12.3](http://www.traveljots.com/…-includes/js/jquery/jquery.js?ver=1.12.3)
   [http://www.traveljots.com/…s/jquery/jquery-migrate.min.js?ver=1.4.0](http://www.traveljots.com/…s/jquery/jquery-migrate.min.js?ver=1.4.0)
   [http://www.traveljots.com/…hemes/hueman/js/jquery.flexslider.min.js](http://www.traveljots.com/…hemes/hueman/js/jquery.flexslider.min.js)
 * [http://fonts.googleapis.com/…italic,300,600&subset=latin,cyrillic-ext](http://fonts.googleapis.com/…italic,300,600&subset=latin,cyrillic-ext)
   
   [http://www.traveljots.com/…nt/plugins/commentluv/css/commentluv.css](http://www.traveljots.com/…nt/plugins/commentluv/css/commentluv.css)
   [http://www.traveljots.com/wp-content/themes/hueman/style.css](http://www.traveljots.com/wp-content/themes/hueman/style.css)
 * Please tell me the workaround for this.
 * Regards
    Pooja

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

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/#post-7402714)
 * Hi poojaindia. This isn’t really a theme issue. Have you tried posting your question
   on the Better WordPress Minify [plugin support forum](https://wordpress.org/support/plugin/bwp-minify)?
 *  Thread Starter [poojaindia](https://wordpress.org/support/users/poojaindia/)
 * (@poojaindia)
 * [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/#post-7402740)
 * I used Better WordPress Minify plugin as well as Scripts to footer plugin. Now
   only two scripts are blocking:-
 * [http://fonts.googleapis.com/…,400italic,700&subset=latin,cyrillic-ext](http://fonts.googleapis.com/…,400italic,700&subset=latin,cyrillic-ext)
   
   [http://www.traveljots.com/…nt/plugins/commentluv/css/commentluv.css](http://www.traveljots.com/…nt/plugins/commentluv/css/commentluv.css)
 * This is a theme issue because that particular font is used by Hueman.
 * I tried to use the solution by [@camdoughcat](https://wordpress.org/support/users/camdoughcat/)
   at
 * [https://wordpress.org/support/topic/alternative-to-import-in-hueman-child-themes?replies=22](https://wordpress.org/support/topic/alternative-to-import-in-hueman-child-themes?replies=22)
 * This solved the problem for
 *     ```
       function alx_styles() {
       		wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css', array(), null );
       		wp_enqueue_style( 'child-style', get_stylesheet_directory_uri() . '/style.css', array('parent-style'), null );
       		if ( ot_get_option('responsive') != 'off' ) { wp_enqueue_style( 'responsive', get_template_directory_uri().'/responsive.css', array(), null ); }
       		if ( ot_get_option('custom') == 'on' ) { wp_enqueue_style( 'custom', get_template_directory_uri().'/custom.css' ); }
       	}
       ```
   
 * The above code solved a lot of issues . But I continue to have the below issue
   in my page speed results
 * [http://fonts.googleapis.com/…,400italic,700&subset=latin,cyrillic-ext](http://fonts.googleapis.com/…,400italic,700&subset=latin,cyrillic-ext)
 * I think if I am able to edit
 *     ```
       wp_register_style('my-googleFonts', 'http://fonts.googleapis.com/css?family=Roboto:400,400italic,500,700,900', array(), null );
               wp_enqueue_style( 'my-googleFonts');
       ```
   
 * to suit emu font style i.e. robot cyrillic text. I will be done. Also, I have
   to find where Hueman is calling the above font.
 * Please suggest a way to enqueue this.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/#post-7402800)
 * This article discusses using links (which the theme does in /functions/dynamic-
   styles.php) and using enqueue:
    [http://www.wpbeginner.com/wp-themes/how-add-google-web-fonts-wordpress-themes/](http://www.wpbeginner.com/wp-themes/how-add-google-web-fonts-wordpress-themes/)
 * If you use the enqueue method then you should probably copy the hu_google_fonts()
   function to your child theme and remove the link statements for the fonts you
   enqueue.
 *  Thread Starter [poojaindia](https://wordpress.org/support/users/poojaindia/)
 * (@poojaindia)
 * [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/#post-7402818)
 * Ok I will see that

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

The topic ‘Page Speed Insight issuesJavaScript’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)
 * [Heuman](https://wordpress.org/support/topic-tag/heuman/)
 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 4 replies
 * 2 participants
 * Last reply from: [poojaindia](https://wordpress.org/support/users/poojaindia/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/page-speed-insight-issuesjavascript/#post-7402818)
 * Status: resolved