Remove unnecessary occurrences console.log()