finish ajax reply