Modified driver.js