Coffee refactoring: store array of objects instead of multiple arrays for images' sources, texts, etc.