setup HTML and change console.log to document.write for echo of variables