Bug 908595 - Fix waitForElement
Merge pull request #6 from gaye/908595-followup

Bug 908595 - Fix waitForElement r=evanxd