updates for json-rpc and fastclick