jQuery Attr() Function Doesn't Work With IMAGE.complete