Replace demo ajax response method