fixing wait and waitForJS docblock on master