updated js to add link to individual photo page