[JS] Rework empty table