datatables but poor styling and code clean up