Update cloth.js

- simplified genereateId
- completed object side of shuffle