some progress with getting lat,long but missing the ajax calls