updated basic.js to use driverBlock for setup/teardown of wd