Undo all dynamic code. I cannot get javascript to work as dynamic code, so it is now hardcoded. When new classes are added, you'll just have to alter the javascript file as well (because tinymce doesn't allow modifying buttons after they're added).