In sync.js, set parent for a child