add compare ajax