recursive define in js
Merge branch 'mesh' of https://github.com/dataarts/tailbone into mesh