I met an important method:
import netscape.javascript.JSObject;