we can now be smart and use a jquery way of getting cache and load event from the image