plone/plone.app.async — comment on commit f96f94524299002fcc059fccc784beabbc0e024d
File:  line 0
By ggozad:

Very useful!
I would change it a bit on the js side:
Defining `$.fn.render` makes render available to jQuery in general (outside the scope of your function) which is not necessary. Use a simple function that returns your table and call $(id).html.
Also wrapping jQuery to an anonymous function like `(function($) { ... })(jQuery);` is preferable as notation and has some (useless here) advantages ;)