Added docs and fixed an error with javascript
Merge branch 'master' of https://github.com/bitcero/rmcommon