A Gemini JavaScript module for detecting user location