My own attempt at recreating DataTables jQuery Plugin dynamic HTML table with server-side processing