photo-jshtml correction