fixed an issue where tinymce gets not loaded when show/hide-button was clicked;
recode plugin.js with coffee;