[JS] Rework empty table
[JS] Continue refactoring work
[JS] Update filter tests to work on both

Still need to dynamically switch between node and .Net