added distance formula to googlemaps.js