Unexpected output from what is expected to get in javascript

I am getting a durres output instead of the constantine, is there anything I am missing out? Here’s the photo

HTML:

  '''<div class="gnrt">
     <div class="cntnr">
       <select id="countryz" name="countryz">
         <option value="random">Random</option>
          <?php foreach($region['regions'] as $regn => $rgn){ ?>
           <option value="<?php echo $rgn['code'];?>"><?php echo $rgn['name'];?> (Region) 
 </option>

         <?php } foreach($countryarr1['countries'] as $countkey1 => $countname1){?>
           <option value="<?php echo $countname1['code'];?>"><?php echo $countname1['name'];?> 
  (Countries)</option>

            <?php } foreach($countrysts['countrySets'] as $cntrysts => $sts){ ?>
           <option value="<?php echo $sts['code'];?>"><?php echo $sts['name'];?> (Set)</option>
         <?php } ?>
        </select>
       </div>

     <div id="citycont" class="citycont">
     <?php foreach($countryarr1['countries'] as $countkey1 => $countname1){?>
        <div class=<?php echo $countname1['code'];?>>
         <select id="citied" name="citytest">
         <?php foreach($countname1['cities']['options'] as $cntrykey2 => $cntrys){?>
           <option value="<?php echo $cntrys['code'];?>"><?php echo $cntrys['code'];?></option>
         <?php } ?>
         </select>
       </div>
       <?php } ?> 
     </div>'''

Javascript:

 ''' <script type="text/javascript">
$(document).ready(function(){
  $('#countryz').bind('change', function(){
    var trycountry = $('#countryz').val();
    var uzer = "qwerty";
    var password = "password";

      if(trycountry=="ftl" || trycountry=="mesh1" || trycountry=="mesh2" || trycountry=="courir" || trycountry=="nikena" || trycountry=="nikena" || trycountry=="nikeas"){

        if(trycountry=="us" || trycountry=="mx" || trycountry=="cu" || trycountry=="pr" || trycountry=="gt" || trycountry=="ni" || trycountry=="nikena") {
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "us.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "185.193.157.60";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }
      
        else if(trycountry=="sg" || trycountry=="id" || trycountry=="my" || trycountry=="ph" || trycountry=="vn" || trycountry=="th" || trycountry=="nikeas"){
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "sg.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "51.79.228.223";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }

      
        else if(trycountry=="au" || trycountry=="nz" || trycountry=="pg"){
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "au.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "51.161.196.188";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }
      
        else{
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "91.239.130.17";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_set-" + trycountry);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }
      }
       else{
      $(document).ready(function(){
      $('#citied').bind('change', function(){
        var elements = $('div.citycont');
        var trycity = $(this).val();

        if(trycountry=="us" || trycountry=="mx" || trycountry=="cu" || trycountry=="pr" || trycountry=="gt" || trycountry=="ni" || trycountry=="nikena") {
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "us.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "185.193.157.60";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }
      
        else if(trycountry=="sg" || trycountry=="id" || trycountry=="my" || trycountry=="ph" || trycountry=="vn" || trycountry=="th" || trycountry=="nikeas"){
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "sg.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "51.79.228.223";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }

        else if(trycountry=="au" || trycountry=="nz" || trycountry=="pg"){
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "au.proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "51.161.196.188";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
          });
        }
      
        else{
          $(document).ready(function(){
          $('#hst').bind('change', function(){
          var iptype = $('#hst').val();
            if(iptype=="dns"){
              var setcountry = "proxy.iproyal.com";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }else if(iptype=="iphst"){
              var setcountry = "91.239.130.17";
                $(document).ready(function(){
                  $('#tpz').bind('change', function(){
                  var httptype = $('#tpz').val();
                  if(httptype=="http|https"){
                    var texts = "12323";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }else if(httptype=="socks5"){
                    var texts = "12325";
                    $('#foruse').val(setcountry + " : " + texts + " : " + uzer + " : " + password + "_country-" + trycountry + "_city-" + trycity);
                  }
                  }).trigger('change');
                });
            }
          }).trigger('change');
        });
        }
      }).trigger('change');
      });
      }

  }).trigger('change');
});

”’

Typing this randomly, says I have a lot codes…………………………………………………………………………………………………………………………..