Added a fix for $("div").filter("*") never ending.