Update jquery-ias.js

Some complex cases It's not worked on overflowed divs. Now looks ok, but pls review.