Add console.log snippet.