setJavaScriptExecutorFactory

Factory for desired implementation of JavaScriptExecutor.