Added document.write & console.log