A Gemini JavaScript module for tabs