some fancy upgrades for html tables rendered with bootstrap