Avoid throwing error when filtering undefined elements

When a site uses `[jQuery.append](http://api.jquery.com/append/)` to insert HTML that contains emoji, the script will fail and kill the function that called `.append`.