use XJSServerDelegate