Update the JS api to reflect distance.
Update js api and docs
Updates!
Update the transperth client