undefined arguments are now collapsed

- fixed some error prone js
- undefined arguments are now collapsed

Will need an npm release to accompany https://github.com/syscoin/syscoin-api/pull/5