s/document.write/console.log