Add photo viewer js

Working on that photo viewer1