First step in updating js to support error status strings from the W3C spec:
http://www.w3.org/TR/webdriver/#status-codes