Play nice with https://github.com/shpakovski/Popup.
Merge pull request #5 from adamhartford/compatibility

Play nice with https://github.com/shpakovski/Popup.