Fixed so $('<tr></tr>') and the other table elements works correct.