Improve JS doc.
Fix code style.
Don`t use methods of instances of a request and a batch for handling responses.
Each request has a unique id now. Fixes #1.
Merge branch 'develop' into release-0.02