For popups don't Connect to the Browser process (Attempt to fix issue #614)
Merge pull request #675 from amaitland/fix/issue-614

Javascript Binding - Only call Connect for main browser (not popups)