Added genericTablePaginator(maxRows, tableId) function to Provide
pagination feature to any table id passed to the function