hoist the jquery for replaceing tile images in pin-detail-modl