Implementatio of delete image with ajax