<table border="1">
<tbody>
<tr>
<td>PASS</td>
</tr>
</tbody>
</table>
<script>
document.getElementsByTagName('table')[0].removeAttribute('border');
</script>
<table border="1">
<tbody>
<tr>
<td>PASS</td>
</tr>
</tbody>
</table>
<script>
document.getElementsByTagName('table')[0].removeAttribute('border');
</script>