Update cloth.js

- added a few more toolkit/class functions
- created and considering cloth class closure