Added jsonrpc middleware and jQuery plugin