cosmetic/js updates for image modal