fixed initial search to correctly use location passed from html5 geolocation