Fix crash in FireFox when pop-up is initially blocked.
Fix crash in FireFox when pop-up is blocked
Merge pull request #16 from Jimbly/patch-1

Fix crash in FireFox when pop-up is initially blocked.