Work-in-progress migration of follow.js to sql.js