Replace console.log with placing in document.