Append to last table row instead of using nth-child selector