Add slice compare ajax