Title: Async JavaScript Plugin
Last modified: November 7, 2018

---

# Async JavaScript Plugin

 *  [DiviUser](https://wordpress.org/support/users/specializedmedia/)
 * (@specializedmedia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/)
 * I was having intermittent trouble with my front page slider—not sliding— and 
   my number counter—not showing (and not counting). On a second page, only the 
   photos of the slider weren’t working—and I couldn’t figure it all out until today,
   when:
 * My PDF Embedder stopped working, so one-by-one I determined it to be an AsyncJavaScript
   plugin problem. Turn it off—everything is working and normal— the problem is:
   I want to continue to use the plugin.
 * I DID ‘exclude’ my ‘PDF Viewer’ within the Async plugin, but it didn’t correct
   the problem.
 * Solution to get my site running in-full: Deactivate the plugin.
 * Any better suggestions?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fasync-javascript-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10858757)
 * what asyncjs-configuration did you use for jquery? did you get any JS errors 
   on the brwoser console?
 *  Thread Starter [DiviUser](https://wordpress.org/support/users/specializedmedia/)
 * (@specializedmedia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10861050)
 * Async method chosen.
 * Tried a different browser with similar results. The 2 carousels did move on this
   one, though; still no number counter.
 * (index):91 Uncaught ReferenceError: jQuery is not defined
    at (index):91 (anonymous)
   @ (index):91 (index):241 Uncaught ReferenceError: jQuery is not defined at (index):
   241 (anonymous) @ (index):241 jquery-migrate.min.js?ver=1.4.1:2 Uncaught ReferenceError:
   jQuery is not defined at jquery-migrate.min.js?ver=1.4.1:2 (anonymous) @ jquery-
   migrate.min.js?ver=1.4.1:2
 * Thanks!
    -  This reply was modified 7 years, 6 months ago by [DiviUser](https://wordpress.org/support/users/specializedmedia/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10861321)
 * OK, that means you’ll have to change jquery.js config to not to be asynced (or
   deferred).
 *  Thread Starter [DiviUser](https://wordpress.org/support/users/specializedmedia/)
 * (@specializedmedia)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10861440)
 * JQuery now set to EXCLUDE
 * JavaScript Method only gives Async of Defer. I set to now DEFER and we are working
   again.
 * Is the plugin working at all with these non-Async settings? Should I just turn
   it off?
 * Very, very much appreciated,
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10862500)
 * > Is the plugin working at all with these non-Async settings? Should I just turn
   > it off?
 * depends; if you are not aggregating your JS then you’ll have a lot of JS-files
   that benefit from being asynced. If however you’re using Autoptimize (or something
   similar) then your aggregated JS is probably deferred already so in that case
   AsyncJS is of less use to you.
 * hope this helps,
    frank
 *  [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10876735)
 * Hello,
 * I am having a problem with the plugin, on my side it is not working moreover 
   on mobile version, the homepage picture has its position change and is surrounded
   by a blue doted line, any suggestion?
 * Thanks in advance.
 * Thibaut
 * [https://www.thibautgoarant.com](https://www.thibautgoarant.com)
 *  [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10876849)
 * [https://www.thibautgoarant.com/async-plugin-error-on-mobile/](https://www.thibautgoarant.com/async-plugin-error-on-mobile/)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10877000)
 * can’t access your site due to a problem with your HTTPS certificate [@tgoarant](https://wordpress.org/support/users/tgoarant/),
   so the only advice I can give at this moment is to check your browser’s console
   for JS errors + not to async or defer jQuery + try to exclude plugins from async
   to see if this fixes anything.
 * hope this helps,
    frank
 *  [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10877057)
 * thanks I’ll try this, however I’m beginner so I don’t know how to check my browser’s
   console for JS errors… (firefox). which plugin I should exclude? I am not using
   autoptimize as it make my front page flickering when loading…
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10877096)
 * re browser console see [https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Firefox](https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Firefox)
 * re what to exclude; not idea what you’re using and what might be causing the 
   issues, but who not try some classic trial and error? 🙂
 *  [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * (@tgoarant)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10877158)
 * thanks, it is too complex for me, I’ll stop here, sorry for wasting your time.

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

The topic ‘Async JavaScript Plugin’ is closed to new replies.

 * ![](https://ps.w.org/async-javascript/assets/icon-128x128.png?rev=1839260)
 * [Async JavaScript](https://wordpress.org/plugins/async-javascript/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/async-javascript/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/async-javascript/)
 * [Active Topics](https://wordpress.org/support/plugin/async-javascript/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/async-javascript/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/async-javascript/reviews/)

 * 11 replies
 * 3 participants
 * Last reply from: [tgoarant](https://wordpress.org/support/users/tgoarant/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/async-javascript-plugin/#post-10877158)
 * Status: not resolved