jQuery widget for table implementation