Remove two console.log() calls