This is the console. All output created with writeLog() is shown here.
writeLog()
Type a text into the input field and press 'Set header'.
This is the JavaScript code behind the above application.