vlogger.js: function export (singleton pattern)