Adding codes to Driver.js