upgrade jquery
fix loop