Refactors the tinymce_javascript_tags helpers to render partials.