Fix JSHint error with console