Remove photo ajax function