A Gemini JavaScript module for gallery's