switch to webkit driver for javascript