We implemented a library that could create complicated AJAX interactions by writing 0 javascript, instead just adding a few extra HTML tags to code.

I don't understand what this means. Can you please explain how this works?

It's a clever idea:

- In your html, you annotate objects (e.g. a button) with the '.actionable' class

- Then provide a set of arguments in the html alongside, e.g.

        
- The library then parses the html of .actionable objects, and automatically creates the relevant jQuery bindings for you. In other words, you define the behavior in html, without having to write any custom javascript.

We're experimenting with a few ways of extending this on Memrise (Spencer Davis gets most of the credit here). It's early days, but we're an ajax-heavy site, and devolving certain kinds of basic, repetitive functionality to html feels natural and simple. And, by adding new handler types to the library, it becomes much, much easier to create reusable widgets that we can sprinkle throughout the site.

P.S. Currently, most of this work is still on a development branch that will be live within a couple of days.