image-hover.js: better loading too large images prevention