This is the console. All output created with writeLog() is shown here.
writeLog()
On startup, the LED is off and the button's LED is set to white.
This is the JavaScript code behind the above application.