Title: Avoid serving legacy JavaScript to modern browsers
Last modified: November 26, 2020

---

# Avoid serving legacy JavaScript to modern browsers

 *  [amayahb5](https://wordpress.org/support/users/amayahb5/)
 * (@amayahb5)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/avoid-serving-legacy-javascript-to-modern-browsers-3/)
 * Hi, I installed the Kadence theme on my fresh WordPress install. Then when I 
   checked the default “Hello world!” post using PageSpeed Insights, it gave me 
   a warning saying “Avoid serving legacy JavaScript to modern browsers” on the 
   mobile tab.
 * The warning included the following files:
    tiny-slider.min.js?ver=1.0.5 tiny-
   slider.min.js?ver=1.0.5:1:3338
 * Is this something you can fix?

Viewing 1 replies (of 1 total)

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/avoid-serving-legacy-javascript-to-modern-browsers-3/#post-13718309)
 * Hey,
    Thanks for posting, I’ll remove that polyfil for object keys in the next
   version. That will remove this from showing in the pagespeed insights and it 
   will have a tiny sentence of code 🙂
 * Ben

Viewing 1 replies (of 1 total)

The topic ‘Avoid serving legacy JavaScript to modern browsers’ is closed to new 
replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/kadence/1.5.2/screenshot.png)
 * Kadence
 * [Support Threads](https://wordpress.org/support/theme/kadence/)
 * [Active Topics](https://wordpress.org/support/theme/kadence/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/kadence/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/kadence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/avoid-serving-legacy-javascript-to-modern-browsers-3/#post-13718309)
 * Status: not resolved