Added documentation for webdriver.js api