Language language = LanguageUtils.getLanguage(); properties.setProperty("language", language.toString());
    private CharSequence generateScript(PageContext context) {        StringBuilder builder = new StringBuilder();                Properties properties = new Properties();        loadConfig(context, properties);                properties.setProperty("mode", "exact");        properties.setProperty("elements", getId());                builder.append("tinyMCE.init({\n");                int index = 1;        for (Object key : properties.keySet()) {            Object value = properties.getProperty((String) key);                        builder.append(String.valueOf(key) + ": '" + value + "'");            if (index < properties.size()) {                builder.append(",\n");            }                        index++;        }                builder.append("\n});");                return builder;    }