basic styles, th to td fix in js