changed the javascript driver