Backported to at least jQuery 1.4.4, added delay