fixing broken javascript
Merge pull request #438 from comfy/hotfix/child_toggle_js

fixing broken javascript