Update yld.js

Simplified parent <-> child communication