Here goes a new version based on Mark comments about the last one.
Two more comments:
1) CSS library for the example theme was not included in this version.
2) I could not make the example work with JQuery lib 1.4.3 (min default according the docs) , but it does with 1.4.4 or greater. I made JQuery lib 1.4.3 the default in the templatetag, following the docs, but should it be 1.4.4 ?