Using window.onload = writeMessage; with InnerHTML