JavaScript storage facade