move image-loading to separate jquery plugin