refactor kid.js
update exmaples