check if console exists before calling method of console
replace space to tab
Merge pull request #5 from fiskus/f/console.debug-fix

Проверка на существование console fix shramov/leaflet-plugins#78