remove console from condition

it's frozen http://nodejs.org/api/stdio.html