Update jQuery UI integration

- Fix error on span sorting class being applied to all span elements in
  the header cell
- Fix possible sort classes not working