datatables using js arrays instead of dom, standardising and improving datatables loog and feel