Improve jQuery DataTables functions for shiny