http://www.elijahmanor.com/2011/08/find-jquery-bug-1-chicken-or-egg.html