Added data-caption to thumbnails
Creating variables in JavaScript