* json-rpc parameter bugfix * small change * Update json-rpc.js
* json-rpc error handling * partial revert