Update tableeditor.js

still broken, need more fix.