Title: Broken aos.js when enable JavaScript Options
Last modified: June 5, 2020

---

# Broken aos.js when enable JavaScript Options

 *  Resolved [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/)
 * Hi,
 * I’m using this animation JS [https://github.com/michalsnik/aos](https://github.com/michalsnik/aos)
 * Script call from there weblink [https://unpkg.com/aos@next/dist/aos.js](https://unpkg.com/aos@next/dist/aos.js)
 * When I enabled the JavaScript Options the script is not working. How can I fix
   it?
 * Thanks

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945160)
 * can you share your site’s URL dilanpushpitha ?
 *  Thread Starter [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945221)
 * This is the link(short link) [https://bit.ly/3cFkIOW](https://bit.ly/3cFkIOW)
 *  Thread Starter [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945241)
 * When you visit the website, you can’t see the body details. Because I added the
   aos.js to all sections.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945264)
 * OK, can you
    1. disable CSS & JS options in WP Fastest Cache? 2. try adding `
   wp-includes/js` to the comma-separated JS optimization exclusion list? 3. try
   adding `themes/softlogic/js/main.js` to the comma-separated JS optimization exclusion
   list?
 * and while doing the above check the browser console for JS errors?
 *  Thread Starter [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945292)
 * Now it’s working fine. can you check it?
 *  Thread Starter [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945303)
 * I have now one issue with the owl carousel. It’s not working.
 *  Thread Starter [dilanpushpitha](https://wordpress.org/support/users/dilanpushpitha/)
 * (@dilanpushpitha)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945319)
 * It’s fixed now. I have added the js file to the exclusion list.
 * Thank you for your support.
 * And one special request, can you remove the softlogic text in your comment?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945576)
 * > It’s fixed now. I have added the js file to the exclusion list.
 * great job!
 * > Thank you for your support.
 * you’re welcome, feel free to [leave a review of the plugin and support here](https://wordpress.org/support/plugin/autoptimize/reviews/#new-post)!
   🙂
 * > And one special request, can you remove the softlogic text in your comment?
 * afraid I can’t any more, one can only change posts within the hour and I don’t
   have permissions here to do more then that, sorry.

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

The topic ‘Broken aos.js when enable JavaScript Options’ 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/)

 * 8 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/broken-aos-js-when-enable-javascript-options/#post-12945576)
 * Status: resolved