JS - Edit photo - Render image and updated router