Eliminating extra td elements in thead with 'left' or 'right' options