fix problems with list view

jquery.tablesorter had not been loaded, so sorting did not work. Now it's
setup properly using requirejs shims.