reformatted JS, main JS will need to be updated to look for random objects in the photos array and also break out captions.