removed echo '1' from ajax