fixing wait and waitForJS docblock
Merge pull request #1014 from sbenskin/master

fixing wait and waitForJS docblock on master