Gwt 657 measure distance javascript

Adds measure distance info support to javascript