Fixed issue causing waitForSelector() to always timeout.
Merge pull request #37 from chaddjohnson/master

Fixed issue causing waitForSelector() to always timeout.