add span classes inside <td>