How do you ringify a block with JavaScript?

I have stumbled on "Lambda for dummies" at The Lambda Calculus for Absolute Dummies (like myself) - Joscha Bach which I find more accessible than the Wikipedia article. If you like it, you may want to add the link to the Faq post about the lambda, too.