Added ExternalTool session state element; made executeJavaScript public