Refresh responsive table after changes

I needed to update the original table through javascript. So I added a new method to rebuild the responsive-table based on the new table.