Refactored application using DataTables.net