Create photos.js