style changes in javascript driver