Add an optional html append.
Replace output div with a console.log