border and td modifications

to reflect change, ui.js should not handle td height and width