Title: Javascript errors when removing comments enabled and combine js
Last modified: August 22, 2019

---

# Javascript errors when removing comments enabled and combine js

 *  Resolved [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/)
 * (@cunnningstunts)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/)
 * I’m getting javascript errors with the core MediaElement script when I enable
   JS combine while having the Remove Comments feature enabled.

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

 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11857145)
 * Hi [@cunnningstunts](https://wordpress.org/support/users/cunnningstunts/), please
   try to follow [this instruction](https://blog.litespeedtech.com/2018/01/31/troubleshooting-lscache-optimization/)
   to find out which js file should be excluded.
 *  Thread Starter [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/)
 * (@cunnningstunts)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11858791)
 * Thanks for the reply. Yeah, I was pretty much just reporting the error because
   it would be fairly common if it’s a core script. For now I’d rather live without
   comment removal than exclude from combining.
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11880230)
 * Thanks [@cunnningstunts](https://wordpress.org/support/users/cunnningstunts/),
   may I know is [this the script](https://www.mediaelementjs.com/) you are using?
 *  Thread Starter [cunnningstunts](https://wordpress.org/support/users/cunnningstunts/)
 * (@cunnningstunts)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11881280)
 * No, it’s core WP:
    [https://github.com/WordPress/WordPress/tree/master/wp-includes/js/mediaelement](https://github.com/WordPress/WordPress/tree/master/wp-includes/js/mediaelement)
 *  [stanley@litespeed](https://wordpress.org/support/users/stanleylitespeed/)
 * (@stanleylitespeed)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11883203)
 * Hi we’ve tried to use the embedding script `[embed ....[/embed]` with JS combine&
   Remove Comments without any issue, could you please provide your Report Number
   and show us the broken page URI for checking?
 *  Plugin Support [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * (@lclarke)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11906965)
 * Hi [@cunnningstunts](https://wordpress.org/support/users/cunnningstunts/),
 * I’m going to mark this topic “Resolved,” due to lack of activity.
 * If you still need help, please provide your Report Number, found in **WP Admin
   > LiteSpeed Cache > Report** and let us know which page is broken.
 * We’ll be happy to reopen the topic if necessary.
 * Thanks!

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

The topic ‘Javascript errors when removing comments enabled and combine js’ is closed
to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/javascript-errors-when-removing-comments-enabled-and-combine-js/#post-11906965)
 * Status: resolved