Changed demo messages to appear in document
instead of console