making webdriver nodejs v6 compatible