add photo and modify js