For tables my favorite jQuery plug-in is: https://datatables.net/
Have a page with some tables? A few lines of jQuery and you have search sorting etc. It can be customized but defaults are fine.
This is how abstractions and progressive enhancement should be done.