Yeah there is quite a bit of outdated and broken code. This is another good reason to rewrite everything from scratch which is what I’m currently doing with this new WP plugin.
I can fix the tr but I’m not sure the rest of the stuff is necessary at the moment or not. If so I would probably hook it up to class names and put the styles in an external stylesheet but I’m not sure it’s worth it at the moment to keep working on the old script. I should take less time trying to make all the old code better and probably should just spend more time making this new plugin I’m working on. 😉