DRY (don’t repeat yourself).
Example of selecting 30 similar images - Not DRY:
var image1 = $(".image1");
var image2 = $(".image2");
var image3 = $(".image3");
....
var image25 = $(".image25");
Instead of using one selector for all images (same class and so on) - and loop throw all images.