<script>
var count = 1;
function run() {
    var div = document.createElement("div");
    div.textContent = "Testing " + (count++);
    document.body.appendChild(div);
}

setInterval(run, 1000);
</script>