Add JavaScript function locationGeo()