Title: Compatibility issue with the Async JavaScript plugin
Last modified: November 23, 2018

---

# Compatibility issue with the Async JavaScript plugin

 *  Resolved [kevinc81](https://wordpress.org/support/users/kevinc81/)
 * (@kevinc81)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/compatibility-issue-with-the-async-javascript-plugin/)
 * Good morning,
 * Today I first installed the Autoptimize plugin, I followed the recommendation
   of the error message to add “leaflet.js” to the exclusion list, and that worked
   perfectly.
    Then I installed the Async JavaScript plugin, which is linked to 
   the Autoptimize plugin, and again I followed the recommendations for Leaflet 
   Maps Marker to add “leaflet-core.js,leaflet-addons.js,mq-map.js” to the exclusion
   list only it doesn’t work.
 * I cleared the cache, I checked that the problem appears only with the Async JavaScript
   plugin, I tried to change the options “async” and “defer” to see if there was
   an evolution, unfortunately nothing.
 * Do you have any idea where the problem might come from?
 * Thank you in advance for your answer.
 * Best regards,
 * Kévin CAROL
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcompatibility-issue-with-the-async-javascript-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Robert Seyfriedsberger](https://wordpress.org/support/users/harmr/)
 * (@harmr)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/compatibility-issue-with-the-async-javascript-plugin/#post-10918654)
 * Hi,
 * I checked the compatibility check for the free version and it seems there is 
   an issue here – please try adding leaflet.js to the exclusion list, this is the
   correct filename used in the free version (and will be fixed with the next release)
 * best,
 * Robert
 *  Thread Starter [kevinc81](https://wordpress.org/support/users/kevinc81/)
 * (@kevinc81)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/compatibility-issue-with-the-async-javascript-plugin/#post-10924353)
 * Hi,
 * Thank you for your answer
 * It worked perfectly, I thank you !
 * Best regards,
 * Kévin CAROL

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

The topic ‘Compatibility issue with the Async JavaScript plugin’ is closed to new
replies.

 * ![](https://ps.w.org/leaflet-maps-marker/assets/icon.svg?rev=970936)
 * [Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps)](https://wordpress.org/plugins/leaflet-maps-marker/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/leaflet-maps-marker/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/leaflet-maps-marker/)
 * [Active Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/leaflet-maps-marker/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/leaflet-maps-marker/reviews/)

## Tags

 * [compatibility](https://wordpress.org/support/topic-tag/compatibility/)

 * 2 replies
 * 2 participants
 * Last reply from: [kevinc81](https://wordpress.org/support/users/kevinc81/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/compatibility-issue-with-the-async-javascript-plugin/#post-10924353)
 * Status: resolved