minor changes on imagePreviewOnHover.js