change JavascriptExecutor to load and compile all scripts via ScriptProvider - this will make it easier to cache precompiled scripts later.