USe correct JS image upgrade class on gallery thumbs