The main JavaScript loader for Gemini