fixing wait and waitForJS docblock on 1.8