Title: Optimize javascript breaks some plugins
Last modified: September 3, 2016

---

# Optimize javascript breaks some plugins

 *  Resolved [subfight](https://wordpress.org/support/users/subfight/)
 * (@subfight)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/optimize-javascript-breaks-some-plugins/)
 * Hello,
 * I use cache enabler with autoptimize.
 * In autoptimize, html css an javascript are selected to be optimized. However 
   it breaks 2 of my plugins (justified image grid and simple tooltips) so I tried
   to exclude some js files but it doesn’t change the situation. Do you have an 
   idea what I can do?

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

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/optimize-javascript-breaks-some-plugins/#post-8133621)
 * start with disabling “force JS in head” and add `js/jquery/jquery.js` to the 
   comma-separated JS optimization exclusions subfight. if the problem persists 
   you should look at your browser’s (error) console for JS errors (as per the troubleshooting
   tips in [the FAQ](https://wordpress.org/plugins/autoptimize/faq/)) and (if not
   clear) post them here (ideally including your site’s URL).
 * frank
 *  Thread Starter [subfight](https://wordpress.org/support/users/subfight/)
 * (@subfight)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/optimize-javascript-breaks-some-plugins/#post-8133725)
 * Hello Frank,
 * Your code to add in exclusion js/jquery/jquery.js has fixed all my problems, 
   thanks a lot also for your fast response!!
    -  This reply was modified 9 years, 8 months ago by [subfight](https://wordpress.org/support/users/subfight/).
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/optimize-javascript-breaks-some-plugins/#post-8133944)
 * great! can you mark as ‘resolved’ (apparently I can’t do that since the upgrade
   of the plugins/ forums bbpress of earlier this week)?

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

The topic ‘Optimize javascript breaks some plugins’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/optimize-javascript-breaks-some-plugins/#post-8133944)
 * Status: resolved