Added mechanism to expose JavascriptExecutor from the current browser instance