Unobtrusive HTML table pagination and sorting