Defined document.write & console.log