more steps toward javascript
adding hierarchy to tasks