Minimal Rarebit client (client-side javascript)