Fix geoloc plugin example callback