Add new dist() function and remove google distance call (also minor style changes)
update script.js to submit lat & lon separately