fixing waitForJS docblock on 1.7