Merged with JQuery datatables code for statement view