pack everything in bbtable and add a jquery plugin for bbtable