JS code to change large page image and border classes on previews :trollface: