Prototype of By.js() locators. Also added the stubs for By.asyncJs(), but have not implemented that.
This would be much simpler if the locator logic were handled by the driver itself instead of
delegating to executeScript() on the client.