Handle situation when remote server can't be requested (not accessable for example).
Update jsonrpc.js

Fix wrong indentation.
Merge pull request #3 from PavelKonon/master

Handle request error