using ajax to get CN from php