Remove trailing console.log items