I found it slightly frustrating when writing single page apps to create tables.  This module allows you to create and manage tables in any web app.  Dependencies include: Jquery and the simple inheritance module described in http://ejohn.org/blog/simple-javascript-inheritance/