js object graph sharing seems to work