getAccurateCurrentPosition

A small enhancement to navigator.geolocation that waits for GPS to refine its reading before returning.

Source: github.com/gregsramblings/getAccurateCurrentPosition