Photo viewer for HTML /javascript