Dynamic Responsive Tables with Bootstrap 3

The following function will force the table-responsive behavior in Bootstrap 3 when the table's width exceeds the window's, and while the window size is > 768 pixels. Bootstrap's default of 768 pixels [http://getbootstrap.com/css/#tables-responsive] is great in most cases, however I've encountered some requirements where I need to…