thanks. but maybe I don't describe my problem well.
I need to pass them back to javafx.
if node support setUserData, I can associate them to each Node/Element. But webkit don't support this feature.
I can use (String)JSObject.getMember("name"); and JSObject children=JSObject.getMember("children");
but I can't cast children to Object or JSObject.