fixing waitForJS docblock
Merge pull request #1015 from sbenskin/1.7

fixing waitForJS docblock on 1.7