safe check for this.onBrowserStart
more safe