Add geolocator js to layouts.