added code for tables
More work on response-view and jquery table-sorter