FIX: cancels debug mode by default
in case that some browser doesn't provide console API