Template for sortable table in JS using list.js