<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
</head>
</html>


<script type="text/javascript">
  window.test = 'DEFAULT';
  
  setInterval(function () {
    document.querySelector('h1').textContent = window.test;
  }, 250);
</script>
