text: function getServerTime(){
      return $.ajax({ async: false}).getResponseHeader('Date');
  }
  
  function realtimeClock(){
      var rtClock = new Date();
  
      var hours = rtClock.getHours();
      var minutes = rtClock.getMinutes();
      var seconds = rtClock.getSeconds();
  
      hours = ("0" + hours).slice(-2);
      minutes = ("0" + minutes).slice(-2);
      seconds = ("0" + seconds).slice(-2);
  
      document.getElementById("clock").innerHTML =
          hours + " : " + minutes + " : "+seconds;
      
          var jamnya = setTimeout(realtimeClock,500);
  
  }