Title: Exclude Javascript
Last modified: January 2, 2019

---

# Exclude Javascript

 *  [oalddesign](https://wordpress.org/support/users/oalddesign/)
 * (@oalddesign)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/exclude-javascript-3/)
 * Hey i have html5shiv.min.js file that i want to keep at the head of my website
   header.
 * I have tried to play around a bit with the code and if i use this code in my 
   page it works well:
 * `<script data-wpfc-render="false" src="scripts/html5shiv.min.js" async></script
   >`
 * When i have added <!–[if IE]> it seems like the plugin move the javascript file
   into the footer. So this code doesn’t work
 * `<!--[if IE]><script data-wpfc-render="false" src="scripts/html5shiv.min.js" 
   async></script><![endif]-->`
 * And if i exclude the jquery file from the plugin wp-admin it doesn’t convert 
   the file but it still move it into the footer.
 * Is there a way to make it work with the IE condition?
    Thanks
    -  This topic was modified 7 years, 5 months ago by [oalddesign](https://wordpress.org/support/users/oalddesign/).

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

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/exclude-javascript-3/#post-11046114)
 * if the js source is not moved, the js order changes and the js source does not
   work. Which source don’t you wanna move?
 *  Thread Starter [oalddesign](https://wordpress.org/support/users/oalddesign/)
 * (@oalddesign)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/exclude-javascript-3/#post-11047078)
 * Hey, i need the javascript file to stay on the header and not go into the footer.
 * `<!--[if IE]><script data-wpfc-render="false" src="scripts/html5shiv.min.js" 
   async></script><![endif]-->`
 * If i use the code above with “<!–[if IE]>” it doesn’t work.
    It only work when
   i remove the <!–[if IE]> notes
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/exclude-javascript-3/#post-11047777)
 * I will fix and let you know.
 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/exclude-javascript-3/#post-11056933)
 * Please contact me via email: [https://www.wpfastestcache.com/contact-us/](https://www.wpfastestcache.com/contact-us/)

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

The topic ‘Exclude Javascript’ is closed to new replies.

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

 * 4 replies
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/exclude-javascript-3/#post-11056933)
 * Status: not resolved