setInterval(function() {
    document.write('hello\n');
}, 500);