With the latest WordPress 4.2 comes with the new Emoji feature that allows you to use the new Emojis in WordPress. Annoyingly the new feature includes a load of JavaScript and CSS and considering we have never needed Emojis and most probably never will, our pages are unnecessarily bloated.
To remove the JS and CSS used by the Emoji feature, simply add the following to your functions.php file
remove_action( 'wp_head', 'print_emoji_detection_script', 7 ); remove_action( 'admin_print_scripts', 'print_emoji_detection_script' ); remove_action( 'wp_print_styles', 'print_emoji_styles' ); remove_action( 'admin_print_styles', 'print_emoji_styles' );