Moved list JavaScript code from _clist.gsp to dialog.datatables.js