fix embarrassing search/replace bug in waitForDOM; would crash with jQuery
Merge pull request #84 from lalomartins/bugfix-waitForDOM

fix embarrassing search/replace bug in waitForDOM; would crash with jQuery