Fixing waitForCondition to check undefined instead of truthy
Merge pull request #5 from mobify/wait-fix

Fixing waitForCondition to check undefined instead of truthy