removes console.log from var